The YTPlayer would not work on mobile devices due to vendors policy on javascript media controls; you should provide a background image as fall back for mobiles. You can do that by replacing /images/video-placeholder.jpg file with one of your own. keep the same name.
It's also not a recommended practice to have videos auto playing on mobile - considering mobile speed and data plans.
It should be a light interface on mobile. Some of our users used s gif version of the video as video placeholder image.
Hi Ilian,
The YTPlayer would not work on mobile devices due to vendors policy on javascript media controls; you should provide a background image as fall back for mobiles. You can do that by replacing /images/video-placeholder.jpg file with one of your own. keep the same name.
It's also not a recommended practice to have videos auto playing on mobile - considering mobile speed and data plans.
It should be a light interface on mobile. Some of our users used s gif version of the video as video placeholder image.
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Thanks!
It worked!
Can you please advice on how I can optimize the time for loading the video on desktop as well? It takes a few seconds to start the video
This is a similar question addressed to the YTPlayer author:
https://github.com/pupunzi/jquery.mb.YTPlayer/issues/84
Hope it helps
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio