WebSite X5Help Center

 
Artur Rutra
Artur Rutra
User

How to make MP4 file autoplay and loop  en

Autor: Artur Rutra
Besucht 4418, Followers 3, Geteilt 0  
Tags:: 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

Gepostet am
6 ANTWORTEN
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.

Mehr lesen
Gepostet am von 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

Mehr lesen
Gepostet am von 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

.

Mehr lesen
Gepostet am von  ‪ 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

Mehr lesen
Gepostet am von 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 ...

.

Mehr lesen
Gepostet am von  ‪ 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

Mehr lesen
Gepostet am von Stefano G.