WebSite X5Help Center

 
Lars S.
Lars S.
User

"Welcome Page" on iPad3  en

Autore: Lars S.
Visite 3398, Followers 1, Condiviso 0  
Parole Chiave: ipad3,welcome page

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

Postato il
6 RISPOSTE - 2 UTILI - 1 CORRETTO
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

.

Leggi di più
Postato il da 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.

Leggi di più
Postato il da Claudio N.
Lars S.
Lars S.
User
Autore

Ok - I see... Thanks.

Regards Lars

Leggi di più
Postato il da Lars S.
Lars S.
Lars S.
User
Autore

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

Leggi di più
Postato il da 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!

Leggi di più
Postato il da Claudio N.
Lars S.
Lars S.
User
Autore

That's it!

And thanks for a top 10 program!

Ragards Lars

Leggi di più
Postato il da Lars S.