WebSite X5Help Center

 
Artur Rutra
Artur Rutra
User

How to make MP4 file autoplay and loop  en

Auteur : Artur Rutra
Visité 4424, Followers 3, Partagé 0  
Mots-clés :: autoplay,loop,mp4

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

Posté le
6 RéPONSES
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.

Lire plus
Posté le de Aleksej H.
Artur Rutra
Artur Rutra
User
Auteur

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

Lire plus
Posté le de 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

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Artur Rutra
Artur Rutra
User
Auteur

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

Lire plus
Posté le de 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 ...

.

Lire plus
Posté le de  ‪ 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

Lire plus
Posté le de Stefano G.