Closed ghopretz closed 3 years ago
The autoplay can work only if the audio is nìmuted due to the latest browser's legacy. Try setting the mute setting to true.
I have try to mute setting to true, but auto play still not working. player event still stuck at YTPUnstarted.
When i try to insert player.YTPPlay(); in:
player.on("YTPUnstarted", function(e){
console.log("YTPUnstarted " + sjudul);
try{
player.YTPPlay();
console.log("TRY TO PLAY VIDEO FROM UNSTARTED");
}catch(e){
console.log("Error play " + e);
}
});
the player still not auto playing
when i change video id using: player.YTPChangeMovie({videoURL: id, autoPlay: true, mute: false, vol: 100}); auto play not working. player event always stuck at YTPUnstarted .