Aframe

Aframe

new Aframe(player, configopt, key)

Creates an instance of the A-Frame 360 VR plugin.

Parameters
Name Type Attributes Description
player akamai.amp.Player

The player instance

config akamai.amp.aframe.AframeConfig | Object <optional>

The configuration override object, or JSON string. Must adhear to the akamai.amp.aframe.AframeConfig interface.

key string

The plugin identifier.

Members

isCompatible

(readonly) :boolean

Checks browser VR compatibility navigator.getVRDisplays