I am registered with Creative Cow and their tutorials on these things are second to none. However, I thought that for the web-side coding this forum would be the place to go.
Here a text from what I posted at creativecow (no answer yet):
Mobile video content not playing on phone.
For our non-profit projects, I now have figured out and coded our sites to handle short videos we host ourselves (not via youtube or vimeo). I also exported the video as a .3gp format for mobile phones.
With our websites, I now have a separate page for mobile access, without all navigation stuff, headers and footers etc.
The idea is that through Beetagg or QR codes, visitors connect directly to these pages and get the video directly and full-screen on their phone with auto-start as well. It works through the link on a PC, but if I access the page through my phone, it only shows the alternate text "your browser does not recognize the video format.....etc". However, if I copy the same file from PC into the phone it will p[lay normally so the phone players installed recognize the format?
The code I use:
<body>
<p align="center"><video width="427" height="240" controls preload autostart="true">
<source src="vid/M-M51A2_without_wheels_1.3gp" type="video/3gp">
<source src="vid/M51A2_without_wheels_2.mp4" type="video/mp4">
<source src="vid/M51A2_without_wheels_2.ogv" type="video/ogg">
<source src="vid/M51A2_without_wheels_2.mp4" type="video/webm">
<source src="vid/M51A2_without_wheels_2.flv" type="video/flv">
Your browser does not support the video tag.</p>
</body>
Video is available in all five mentioned formats. Video types are defined and added in all .htaccess files and to be safe in css as well. It works in firefoxs on my pc, but not on two nokia smart phones (xpressmusic 5800 and N52). Any idea?
FYI, the video shown is amateur footage, later decided to be used on our museum site as well. The videos that are going to be on this project are better quality about nature and historic towns.
[edited by: travelin_cat at 6:56 pm (utc) on Oct 31, 2012]
[edit reason] Removed Direct Link [/edit]