Cannot get BG videos to autoplay on iOS mobile (Webflow site)
- or -
Post a project like this1110
£40(approx. $50)
- Posted:
- Proposals: 3
- Remote
- #3215513
- Awarded
Description
Experience Level: Entry
My website is a Webflow website. Here is the preview link:
https://preview.webflow.com/preview/blueboatdigital?utm_medium=preview_link&utm_source=designer&utm_content=blueboatdigital&preview=5c702402cf914e650cbcc2efa0f55b5c&mode=preview
If you go into the page settings you will see some autoplay code in the /head section, which is supposed to make it autoplay, but it only plays for half a second and then stops.
I need someone to hep me make all videos autoplay and loop on mobile.
Here is the code on the website currently that is not working:
var mobilevideo = document.getElementsByTagName("video")[0];
mobilevideo.setAttribute("playsinline", "");
mobilevideo.setAttribute("muted", "");
https://preview.webflow.com/preview/blueboatdigital?utm_medium=preview_link&utm_source=designer&utm_content=blueboatdigital&preview=5c702402cf914e650cbcc2efa0f55b5c&mode=preview
If you go into the page settings you will see some autoplay code in the /head section, which is supposed to make it autoplay, but it only plays for half a second and then stops.
I need someone to hep me make all videos autoplay and loop on mobile.
Here is the code on the website currently that is not working:
var mobilevideo = document.getElementsByTagName("video")[0];
mobilevideo.setAttribute("playsinline", "");
mobilevideo.setAttribute("muted", "");
Reece G.
100% (29)Projects Completed
22
Freelancers worked with
20
Projects awarded
56%
Last project
28 Apr 2021
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies