Row Video Background not showing up on Mobile
-
Hey there,
Can't seem to get video background working on mobile. It's been fine before on other sites but for some reason isn't working for this build. CDN is disabled and I've stripped the audio from the video in Premiere.
The url where this is happening is https://directorslab.com/dev2
Please let me know if anyone else has run into this or if there's a quick fix anyone is aware of!
-
Dear @willcanning
You an getting an error in your console, maybe this is related?
document.getElementsByClassname('loaded').play();
Talk soon & best wishes
Ricahrd -
@Richard could be related - but doesn't quite solve the issue as I'm just using the regular 'set video as row background' function that LayTheme provides, in a mobile layout. I'll look into it but quite certain this might be a bug in the theme?
-
Have killed that script and still not having any luck!
-
OK - for the time being I was able to use a Vimeo embed and CSS to get this working as I have to deliver the site ASAP.
The code is very clunky but fine for now.
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it