WebSite X5Help Center

 
Artur Rutra
Artur Rutra
User

How to make MP4 file autoplay and loop  en

Autor: Artur Rutra
Visitado 4419, Followers 3, Compartido 0  

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

Publicado en
6 RESPUESTAS
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.

Leer más
Publicado en de Aleksej H.
Artur Rutra
Artur Rutra
User
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

Leer más
Publicado en 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

.

Leer más
Publicado en de  ‪ KolAsim ‪ ‪
Artur Rutra
Artur Rutra
User
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

Leer más
Publicado en 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 ...

.

Leer más
Publicado en 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

Leer más
Publicado en de Stefano G.