- This topic has 3 replies, 2 voices, and was last updated 3 months, 2 weeks ago by Tom.
May 25, 2020 at 2:02 pm #1301187Cynthia
I am trying to get my video to play on a mobile device (I have a an Android, power saving mode is off). I see the player there on my website with a play button but no video. https://streamline-integration.com/
However the file works perfectly on my laptop and it autoplays on my laptop with no issue.
I am using this html code:
<video src=”https://streamline-integration.com/video/fin_fin_hightail_streamline.mp4″ autoplay=”autoplay” loop=”loop” muted=”true” controls=”controls” width=”1519px” height=”855px”></video>
The person who did this website https://thewooroom.com/ (which autoplays video on mobile without issues) gave me this html code originally to insert but it automatically would save to what I placed above:
<video autoplay muted>
<source src=”https://streamline-integration.com/video/fin_fin_hightail_streamline.mp4″ type=”video/mp4″ />
Please look at https://streamline-integration.com/ on mobile and provide some help if possible. – ThanksMay 26, 2020 at 3:36 am #1301739DavidStaffCustomer Support
try the Video HTML we provide here:June 8, 2020 at 1:24 pm #1319800Cynthia
David – I don’t understand how to add this part:
<video loop muted autoplay poster=”URL/TO/poster.jpg” class=”background-video”>
<source src=”URL/TO/video.mp4″ type=”video/mp4″>
<source src=”URL/TO/video.webm” type=”video/webm”>
<source src=”URL/TO/video.ogv” type=”video/ogv”>
</video>Your Element content in here.
I am confused by the “Your element content here”
I want to keep my home page just as it is (not make a page hero) I only want to add the proper code into the widget where the video would play. And I would like to figure out how to make is adjust down in size when viewing on mobile.
I use Page Builder by SiteOrigin for all of my Generate Press websites.June 8, 2020 at 4:08 pm #1319938TomLead DeveloperLead Developer
Your code should function the exact same as the code that was given to you.
You could make it more identical like this:
<video src="https://streamline-integration.com/video/fin_fin_hightail_streamline.mp4" autoplay loop muted controls="controls" width="1519px" height="855px"></video>
I’m not sure if it’s possible to force a video to autoplay on mobile, as those mobile browsers are specifically set not to autoplay videos.
- You must be logged in to reply to this topic.