Hi Everyone.
First time poster here. I've been asking this question on Adobe's HTML5 forum but I'm getting no responses. I thought I would try somewhere else and found you all.
I have a website I created in XHTML using Dreamweaver CS4. My client wants to have video on the homepage and have it be viewable on macs, pcs, iphones, ipads and all mobile apps.
Here is the webpage.
www.ftworthfoundation.com/index2.html
Someone suggested I use HTML5 and use the fallback option in it for sourcing video. So I'm trying to do that.
I changed the doctype from the standard XHTML to:
<!DOCTYPE html>
<html>
<head>
<title>Excel Construction Foundation Repair</title>
Which I thought would make browsers read the homepage as HTML5. But converting XHTML to HTML5 is all new to me so any suggestions would be great.
My real dilemma is this-
The homepage loads great in every browser that I own, Safari, IE, Firefox, iPhone3G. But I CANNOT get the videos to load in Firefox. I am stumped. They play final locally but not remotely. This issue is only in Firefox. All video files have been properly formatted and uploaded to the same root file as the homepage.
As 1 suggestion for an answer I found- I read something about changing the htaccess.html file and adding in MIME types. But for some reason goDaddy will not let me alter the htaccess.html file, although I have all rights.
Also, the videos seem to load VERY slowly on my iPhone. Does anyone have any suggestions to help them load faster?
Here is my source code for the video
<div id=Video1>
<video controls width=448 poster="excel_Construction_Commercial.jpg">
<source src="excel_Construction_Commercial.m4v" type="video/m4v">
<source src="excel_Construction_Commercial.mp4" type="video/mp4">
<source src="excel_Construction_Commercial.ogv" type="video/ogg">
<source src="excel_Construction_Commercial.flv" type="video/flv">
</video>
</div>
<div id="VideoPlayer">
<video controls width="448" poster="Foundation_Repair.jpg">
<source src="Foundation_Repair.m4v" type="video/m4v">
<source src="Foundation_Repair.mp4" type="video/mp4">
<source src="Foundation_Repair.ogv" type="video/ogg">
<source src="Foundation_Repair.flv" type="video/flv">
</video>
</div>
I figure that firefox likes the .ogv video but with the fallback I figured if it wasn't able to play the .ogv that it would fallback to the .flv. I can't figure out why the fallback doesn't quite work.
Again, ANY help would be GREATLY appreciated as I'm tired of banging my head against the wall and want to finish this project.
-Drew