Techdocs

AMP Web SDK

AMP player

AframeConfig

Members

components

:akamai.amp.aframe.AframeConfigComponents

The A-Frame components object.

disableDevicePermissionUI

:boolean

If true, player will disable default's Aframe device-orientation-permission-ui component for requesting user permission to access DeviceOrientation events.

See:

native

:boolean

set this to true to enable the native Afrme "Enter VR Mode" button on player container.

resources

:Array

Required plug-in resources such as styles sheets and JS, also A-frame library is required in case don’t want to let the player load A-frame.io library.

rotation

:string

Is an A-frame component which defines the orientation of an entity in degrees, it is represented as X Y Z value degrees.

strict

:boolean

The strict flag: It lets the player know when to play on 360 mode or not whether 360 category is in the media node or not. Default value is false which indicates the player to play all content in 360 view. When strict is true it will play media in 360 mode only when the media category contains 360.

vrmode

:boolean

If false, VR display mode won't be available regardless of the device capabilities.