I have done this for a video player i build that does hundreds of millions of 
streams / year across platforms and devices.

I use SWFObject to attempt to write the flash SWF, and put our html5 rendering 
code into the callback after the attempt, if the flash failed to write.



On Jul 21, 2014, at 1:57 AM, natalia Vikhtinskaya <[email protected]> wrote:

> Thank you very much for this link. But I need a bit different. If browser
> support HTML5 and Flash it should play Flash. Only platforms that does not
> support Flash should play video.
> 
> 
> 2014-07-20 21:55 GMT+04:00 Ruben Quintana <[email protected]>:
> 
>> http://coolestguidesontheplanet.com/use-html-5-video-on-all-browsers/
>> 
>> 
>> 
>> On Sun, Jul 20, 2014 at 12:05 PM, natalia Vikhtinskaya <
>> [email protected]> wrote:
>> 
>>> I need play video only for iPad and other devices that does not support
>>> Flash. Does this code do that?
>>> 
>>> 
>>> 2014-07-20 19:51 GMT+04:00 Micky Hulse <[email protected]>:
>>> 
>>>> On Sun, Jul 20, 2014 at 8:41 AM, natalia Vikhtinskaya
>>>> <[email protected]> wrote:
>>>>> I tested on Windows - just blank page. It seems  does not like
>>>>> style="display:none" but I don't know another solition.
>>>> 
>>>> I typically use:
>>>> 
>>>> <video poster="foo.jpg" width="480" height="360" preload="none"
>> controls>
>>>>    <source src="foo.webm" type="video/webm">
>>>>    <source src="foo.ogv" type="video/ogg">
>>>>    <source src="foo.mp4" type="video/mp4">
>>>>    ... Flash fallback goes here ...
>>>> </video>
>>>> 
>>>> You'll have to change width/height to match video.
>>>> 
>>>> This app is great for converting your source to diff formats:
>>>> 
>>>> <http://www.mirovideoconverter.com/>
>>>> _______________________________________________
>>>> Flashcoders mailing list
>>>> [email protected]
>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>> 
>>> _______________________________________________
>>> Flashcoders mailing list
>>> [email protected]
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>> 
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> 
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to