WebSite X5Help Center

 
Lars S.
Lars S.
User

"Welcome Page" on iPad3  en

Autor: Lars S.
Visitado 3123, Seguidores 1, Compartilhado 0  

When I use "Welcome Page" and put a .mp4 file to run for 15 sek. it des not run, when I watch it on my iPad3 - but after the 15 sek. the index-file runs ok. No problems on my PC... Regards Lars

Publicado em
6 RESPOSTAS - 2 ÚTEIS - 1 CORRIGIR
Cheeky Man
Cheeky Man
User

Wink

For the iPad or any mobile device that doesn't support flash you have to use HTML5 !!

"ALL" your files will run on your PC Because you are using the computers resources to watch the video in question!!

.

www.frankscybercafe.com

.

Ler mais
Publicado em de Cheeky Man
Incomedia
Claudio N.
Incomedia

Hello Lars,

iOs, which runs on iPhone and iPad, doesn't allow any kind of media to autoplay without a direct user action. In this way, the background music doesn't start.

A quote from the Apple Developer Library: http://developer.apple.com/library/safari/#documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html#//apple_ref/doc/uid/TP40009523-CH5-SW1

User Control of Downloads Over Cellular Networks

In Safari on iOS (for all devices, including iPad), where the user may be on a cellular network and be charged per data unit, preload and autoplay are disabled. No data is loaded until the user initiates it. This means the JavaScript play() and load() methods are also inactive until the user initiates playback, unless the play() or load() method is triggered by user action. In other words, a user-initiated Play button works, but an onLoad="play()" event does not.

Ler mais
Publicado em de Claudio N.
Lars S.
Lars S.
User
Autor

Ok - I see... Thanks.

Regards Lars

Ler mais
Publicado em de Lars S.
Lars S.
Lars S.
User
Autor

Hi again...

Well, I tried again, but now I see that websitex5 turns my .mp4-file (video - not sound) into a . swf-file in the "Welcome-Page" (Not in the site itself) - and that does not run on the iPad, I know! So how can I "keep" the .mp4-file? If I can... And again; The problem is only on the Welcome Page....

Regards Lars

Ler mais
Publicado em de Lars S.
Incomedia
Claudio N.
Incomedia

Hi Lars,

You can try in a different manner. At step 4, in the welcome page settings, select "HTML Code" in the "Page content" section. There, paste the HTML5 code to play your mp4 file:

<video><source src="yourfile.mp4"></video>

You can add more source tags if your file is available in more formats (like .ogg or .webm).

The video files must then be uploaded on your site.Wink

To get more informations on the HTML5 video tag, i suggest you to take a look here: http://www.w3schools.com/html5/tag_video.asp

This will, anyway, still require a "play" button to play the video on an ipad because of the Apple policy I've reported above.

Thank you!

Ler mais
Publicado em de Claudio N.
Lars S.
Lars S.
User
Autor

That's it!

And thanks for a top 10 program!

Ragards Lars

Ler mais
Publicado em de Lars S.