Re: html 5 video code

support@muralsandfauxpainting.com wrote:
> To whom it may concern,
> 
> 
> I was curious about switching my xhtml coded site to html5.  Is this 
> recommended by you now?  What about video code - if the code is 
> incorrect, will it prevent an embedded video off of YouTube to play?  I 
> read a article on Mac forum that certain websites have html5 video to 
> work with iPad and when I checked their source, I saw that they are 
> flash videos which the iPad is not supposed to be able to play. So is it 
> because they were coded with html5?  I am confused about this and would 
> appreciate any clarification by you.  I finally, by the grace of Jesus, 
> was able to validated a few of my pages on my site and now I have to 
> switch but don't want to do that if it isn't necessary.  Help, please.
> 
> 
> http://muralsandfauxpainting.com


Use flash as a fallback for video / audio.
I don't know whether my site works on an iPad or not, but here is a page 
using html5 including svg, audio, video, article, section, etc.

http://www.shastaherps.org/herps/AmericanBullfrog

Note that it uses flowplayer (flash) as fallback for audio and video.
Also note that my css page defines a lot of the html 5 tags as block.

And note, while you didn't ask about inline svg, the svg as done there 
only works in opera if sent as application/xml+xhtml mime type (I think 
because of the xmlns attribute) - which IE completely rejects, so you'll 
need to send a different header for IE (text/html) if you normally send 
application/xml+xhtml header.

Received on Friday, 23 April 2010 17:54:42 UTC