If you don't find an answer, please click here to post your question.
Reply
Occasional Contributor
Posts: 5
Registered: ‎10-06-2017

setEmbed

Hi Team,

 

I am using setEmbed() method to play another video in a player. 

The player is previously configured as autoplay but I don't want it autoplay again, how can we use set autoplay false with setEmbed( )?

 

Thanks

Ooyalan
Posts: 13
Registered: ‎10-09-2017

Re: setEmbed

Hello,

 

unfortunately, the player is going to autoplay the video if you set the autoplay from the beginning one workaround for this is to use the player.pause() method after the setEmbed.

 

Here the doc.   https://apidocs.ooyala.com/player_v4_js/index.html

 

 

Occasional Contributor
Posts: 5
Registered: ‎10-06-2017

Re: setEmbed

Hi, Thanks for the information,

Can we delay autoplay by few seconds, if yes how we can achieve this? 

 

Thank you.

 

 

Highlighted
Ooyalan
Posts: 13
Registered: ‎10-09-2017

Re: setEmbed

Hello,

 

No, you can not do it, but you can set Autoplay to false and make the play manually with  Player.play() method after some timer on javascript 

 

here is the doc:  https://apidocs.ooyala.com/player_v4_js/OO.Player.html