I am using a plyr.js to play youtube video. Youtube video working on all devices except Iphone. I have tried different different browser on Iphone but it is not working. Video is showing default red colour button but when i try to click on it through Iphone then video is not playing. Video url is in html as per html instruction for youtube in plyr.js documentation.
`const player = new Plyr('#you_tube_player', { debug : true, autoplay : true});
// Expose player so it can be used from the console
window.player = player;`
I am using a plyr.js to play youtube video. Youtube video working on all devices except Iphone. I have tried different different browser on Iphone but it is not working. Video is showing default red colour button but when i try to click on it through Iphone then video is not playing. Video url is in html as per html instruction for youtube in plyr.js documentation.
`const player = new Plyr('#you_tube_player', { debug : true, autoplay : true});
// Expose player so it can be used from the console window.player = player;`