How to make MP4 file autoplay and loop
Autor: Artur Rutra
Besucht 4418,
Followers 3,
Geteilt 0
yes, how to make MP4 file http://eraktas.lt/index.html autoplay and loop, autoplay option do not work, loop option not available
Gepostet am
Hello.Try adding this code to the HTML object.
<videowidth="320"height="240"autoplayloopmuted>
<sourcesrc="movie.mp4"type="video/mp4"/>
</video>
"movie.mp4" - This is the path to your file.
Autor
with this works on desktop
<video width="920" height="440"autoplay loop muted>
<source src="videos/mp4.mp4" type="video/mp4">
</video>
but not working on ios safari, just white screen
(It > En) ... the autoplay doesn't work neither with Chrome.66+ nor with "mobile" devices, and in these it has always been inhibited by convention ...
... could possibly work with "silent" videos, without audio track ...
... eventually you could also try EXTRA with video YT + TUBULAR ...
.
...!... note: ... to increase compatibility should be aggregated to the MP4 video
even OGG and WEBM video formats, with obvious weight gain on the server ...
>> TAG HTML5 <VIDEO>
.
ciao
.
Autor
your post are totally useless, even in your link are marked, that safari not support webm and ogg, my mp4 video do not contain sound
now working on desktop chrome/opera, on android chrome
... if you read carefully, then maybe you can understand ...
... otherwise ignore what was said ...
.
Hi Artur
I can clearly see that the video does not seem to start on iOS. Unfortunately, the result you're trying to achieve implies the use of custom code for which the Staff cannot provide support.
I have to confirm though that it is currently not possible to loop the video with the standard Audio/Video Object inside the software, which means you will have to resort to trying to get the code you already have to work.
I will leave the topic open so that other users might eventually help you out here.
I apologize for not being able to help further
Thank you
Stefano