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

Enable autoplay through an option hash tag.

Important: Ooyala Player V3 is deprecated and is scheduled to be disabled on 2018-01-31. After that date, Player V3 will no longer play your video or audio content. Customers still using Player V3 need to migrate to Player V4 (see Migrating from Player V3 and Player Migration FAQ).
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

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