Video Background Not Showing Up On Mobile Browsers

Hello there! I am trying to override the default setting which prevents video backgrounds from appearing on mobile browsers.
I’ve went through a few forum posts already, and I haven’t found a solution for how to override this setting (although I do understand the sentiment concerning data usage). The thing I find confusing is that gifs can be used…but aren’t those typically denser in size compared to mp4 files?

I’ve used an alternative theme in the past and mobile video backgrounds show up with no issue and load optimally, but Pro Theme is substantially better in terms of editing websites - I just REALLY want this video to show up on mobile.

Any help is appreciated! Cheers

I did try adding this script based on another forum post:

(function($){ 
  $('#video-bg video').attr('playsinline','');
})(jQuery);

However that did not work either

Hi @sonikmag,

Thanks for reaching out!

I suggest that you follow the recommendation given by my colleague on the other thread.

Hope that helps and let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.