Hello @knightgambit,
I test YouTube Channel inserted as a widget on your homepage, and found all working as it should work:
- You have inserted youtube random video as a thumbnail. Once visitor click on the thumbnail, popup with autoplay YouTube video is shown.
- I configured widget on my demo website and changing User Controls visibility in the widget for thumbnail does not affect randomness – on reload in most cases different random video thumbnail is shown.
- Unfortunately, there is no option to set the initial volume on videos inserted with YouTube Channel plugin.
If you would like to autoplay inline video directly in right-hand sidebar on page load, please change What to display? widget option from Thumbnail to HTML5 (iframe).
Another detail I have noticed – you set cache timeout to 1 minute only. I would recommend updating widget option Cache feed to at least 1 hour.
Kind regards,
Aleksandar
Yes, that’s exactly what I’d like it to do. Autoplay on the sidebar only when the page reloads.
I just set the widget to HTML 5 (iFrame) and set the Cache to 1 hr and it still doesn’t Autoplay. Random video from the Playlist does work though upon reload.
Hi @knightgambit
Please let me know in which browser and on which device autoplay does not work for HTML5 (iframe) display mode so I can check?
Here is a test in Chrome incognito on Windows – on each page reload video autoplay start https://drive.google.com/file/d/1B7n61O2LjA-qrPRhmMsqZ3OwkMOF7n39/view?usp=sharing
Thank you for understanding,
Aleksandar
So I tested the plugin on multiple browsers:
Microsoft Edge – Works perfectly every time
Google Chrome – Worked once, upon subsequent reload it doesn’t work at all now.
Firefox – Never has worked (This is my default browser)
This is what it looks like when you load a page but the autoplay doesn’t work:
https://pasteboard.co/JHuL9Mh.jpg
-
This reply was modified 1 year, 7 months ago by
knightgambit.
Hi @knightgambit,
Newer versions of Firefox automatically block video and audio autoplay so you have to disable blocking of the autoplay in the browser. This is browser level restriction and cannot be overridden.
Please check screenshot https://drive.google.com/file/d/1zbfEIFib4Y9vDZ7qn-bjuaMULCFXJPmO/view?usp=sharing
Regarding Chrome, I managed to reproduce issue once in more than 10 page reloads. It could be related to Chrome blocking autoplay videos with sound, but I have to additionally investigate that in January. You could subscribe to the YouTube Channel project issue on GitHub https://github.com/urosevic/youtube-channel/issues/2 and track progress on this issue.
You can try to use display mode “HTML5 (iframe)” instead of “HTML5 (iframe) Asynchronous” and see if that helps.
Kind regards,
Aleksandar
That was it! It was Firefox blocking it.
Once I unblocked it, it started working perfectly. Will check back once the Chrome issue gets resolved.
Really appreciate the plugin. Been looking for this for years.