"Welcome Page" on iPad3
Autor: Lars S.
Visited 3376,
Followers 1,
Udostępniony 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
Posted on the
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
.
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
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.
Autor
Ok - I see... Thanks.
Regards Lars
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
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.
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!
Autor
That's it!
And thanks for a top 10 program!
Ragards Lars