Actually, if you want just flash to play first, then I think it would be set 
like this.

<video width="100%" height="100%" controls>
<object data="jack_giant.swf" width="100%" height="100%">
  <embed src="jack_giant.swf" width="100%" height="100%">
</object> 
<source src="jack_giant.mp4" type="video/mp4">
<source src="jack_giant.ogg" type="video/ogg">
<source src="jack_giant.webm" type="video/webm">
</video>

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com



On Jul 25, 2014, at 5:15 AM, Karl DeSaulniers <k...@designdrumm.com> wrote:

> Ah, in that case switch it.
> 
> <video width="100%" height="100%" controls>
> <object data="jack_giant.mp4" width="100%" height="100%">
>   <embed src="jack_giant.swf" width="100%" height="100%">
> </object> 
> <source src="jack_giant.mp4" type="video/mp4">
> <source src="jack_giant.ogg" type="video/ogg">
> <source src="jack_giant.webm" type="video/webm">
> </video>
> 
> Not 100% sure if that will actually do it, hadn't tested, but my 
> understanding is 
> it loads the first viable solution in the DOM chain so it should hit the 
> <object> 
> before <source> of the <video> tag and if the <object> and <embed> don't 
> fire, 
> then it would find the <source> tags. If the <video> tag doesn't fire, then 
> the <object> is still there.
> 
> Well, in theory anyway. Worth a test I'd say.
> 
> Best,
> 
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
> 
> 
> 
> On Jul 25, 2014, at 5:06 AM, Henrik Andersson <he...@henke37.cjb.net> wrote:
> 
>> You got the priorities wrong. He wants to use Flash if possible, with
>> the video as the fallback.
> 
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to