Setting Autoplay in a Parameter Hash Tag in Player V3 (Deprecated)

Enable autoplay through an option hash tag.

Note: Ooyala Player V3 has been deprecated and is scheduled to be disabled. For details and alternatives, see the OVP Release Notes.
Autoplay is not supported on all mobile devices. For example, the Apple iOS requires that a user action to start playback. It is important for you to be familiar with the underlying capabilities of your target devices. You can enable autoplay for your player by setting autoplay to true after an option hash tag. A user-generated event should originate from the actual device user. On iOS (iPhone) it is not recommended to trigger autoplay since the video will immediately go into full screen mode in the native video player. It is recommended on mobile web to set autoplay to false (the default).
Note: Facebook does not allow autoplay of videos by third party players inside the Facebook feed. Therefore, autoplay settings will be ignored when the player is embedded on Facebook.


The following example shows how to enable autoplay.

       var player = OO.Player.create('playerwrapper',embedCode, {
                   width: '800px',
                   height: '300px' ,
                   css: '/myvideo.css'
                   autoplay: true

해당 내용이 도움 되었습니까?