@Jakerlund
You are great for me - also because, the bees have a sound!
I mean this very much.
But no … I mean, when you upload your own video …
no possibility of linking, no possibility for handling.
You are dependent on people who will send you the link.
Or you know, to write it in the “html”-code.
Sure, but there’s a glitch, when you add the code in a HTML widget and export everything is fine.
But after export Blocs remove the autoplay=“” tag which you have to add back manually each time you export.
I don’t know if it’s a bug or meant to work like that.
I dropped a HTML widget and then pasted the code in the attached text file.
One is for the autostart, loop video and no video controls.
The other is for autostart, no loop, video controls.
The autoplay don’t work on mobiles, nothing you can do about that.
And the new Safari seen on Apples last week WWDC has a setting to detect and stop auto starting videos.
Very Cool! Thanks for sharing this. Question in a Responsive / Parallaxing website are there any known issues?
When mention AutoPlay will not work on Mobile devices, does that mean one would have to touch a Play button?
@KBConcepts
Yes, mobile users have to push play for any video to start.
That’s beyond our control and it has always been like that.
Autoplay is disabled to prevent unsolicited cellular download. iOS not only prevents autoplay but also preloading the video until the user initiates it. Android has disabled autoplay in versions 4.1+.
What’s the best way to preserve video autoplay on a desktop and have the mobile user be able to chose to start the video? I can’t see how you would do this with classes, or any other way.
I really like NOT including the video controls because it provides a beautiful, seem-less experience, so what I’d like to see on the mobile is just a play triangle when I have autoplay video on the desktop.
Can it only be done with youtube/vimeo? Can it be done without using youtube/vimeo?
Thanks for the instructions – I studied this some more and understand it now
I second the motion to remove the glitch.
Also, I notice that if you convert a video to animated .gif, it will autoplay on iPhone. You can do that with ffmpeg (which I highly recommend) using the following command: ffmpeg -i input.mp4 -r 5 output.gif
Here the 5 can be changed as needed to optimize size/quality of the animated .gif