Mobile Section Background Video - Not playing (Edge/Android)
Hello,
I have a background video set - and the option in the Theme Options for "Section Video" set to "Enable on Mobile", however the video does not play on the Edge browser on Android.
It works as normal on Chrome/Android.
There may be a browser-specific issue: https://stackoverflow.com/questions/54110421/video-does-not-autoplay-in-edge-despite-use-of-autoplay-attribute
You can view at https://tinyurl.com/2vr552z8
Is this something you can offer a workaround for?
Comments
Hi,
I have checked that on Samsung Galaxy S23 and the background video works correctly.
What device are you using?
Best regards
Hi Phil,
Thanks - I'm on Samsung S25 Ultra on Microsoft Edge - and the same on Samsung Flip 5.
I was able to reproduce that on Samsung S25 (not the Ultra one).
Please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at https://themeforest.net/user/muffingroup#contact and we will check that out.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you send are complete and correct.
Thanks
Unfortunately, this site's FTP is protected by a firewall with IP address whitelisting required.
Is it possible for you to replicate on your development sites?
Sure thing.
We will try to replicate that and see what might be causing this.
Best regards
Unfortunately, I was not able to replicate your issue, and it works correctly for me.
Anyway, please check if the problem persists when you remove the slider from that page.
Thanks
Hi Phil,
Thanks for checking - but the issue still persists with the reviews slider removed.
I've sent over WP admin login details and installed a file editor plugin, which will hopefully help as a middle-ground for FTP being unavailable.
Indeed, it seems that you were right, and the Edge browser blocks the autoplay.
However, I have found a workaround, and using JS, I caught this video background and forced it to play. You can find this JS in Betheme -> Theme options -> Custom CSS & JS -> JS. We usually do not prepare custom scripts, but I found this solution online and left it there as it seems to work.
Please check it out.
Best regards
Thanks - that's appreciated - and works.
Is this something that you'll include in a future update?
Would you also consider implementing the "poster" parameter in the <video> tag for a custom-fallback?
No, we cannot implement it as it has been resolved only for your case, and we have not encountered this issue anywhere else (as I mentioned earlier, I was not able to replicate that). Especially, we do not know how such a modification would affect other browsers in the long term, and the Edge browser is used by a minority of users.
If we reproduce this issue and locate the root cause of it, we will surely correct this.
Regarding the poster parameter, I have passed it on to the dev team.
Best regards
Thanks for the update... Much appreciated.