WebSite X5Help Center

 
Artur Rutra
Artur Rutra
User

How to make MP4 file autoplay and loop  en

Author: Artur Rutra
Visited 4416, Followers 3, Shared 0  

yes, how to make MP4 file http://eraktas.lt/index.html autoplay and loop, autoplay option do not work, loop option not available

Posted on the
6 ANSWERS
Aleksej H.
Aleksej H.
Moderator

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.

Read more
Posted on the from Aleksej H.
Artur Rutra
Artur Rutra
User
Author

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

Read more
Posted on the from Artur Rutra
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Artur Rutra
... ... ...  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

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Artur Rutra
Artur Rutra
User
Author

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

Read more
Posted on the from Artur Rutra
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Artur Rutra
your post are totally useless,  ... ... ... 

... if you read carefully, then maybe you can understand ...
... otherwise ignore what was said ...

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Incomedia
Stefano G.
Incomedia

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

Read more
Posted on the from Stefano G.