RTMP flash fallback for HTML5
===

I am trying to have a flash fallback for html5 video in case the browser doesn't support it.
I am able to get it on chrome but chrome shows that "no video with supported format".

I am creating a swf object and appending using Modernizr test for video.
I have mp4 and webm formats of video.Since firefox requires a ogv format it should render the flash fallback but it is not doing so.

        <div id="flash" width="230px" height="230px" style="display:inline-block"><video width="230px" height="230px" id="player2" controls="controls"><source src="'+path_webm+'" type="video/webm"><source src="'+path_mp4+'" type="video/mp4"><track kind="subtitles" src="../media/mediaelement.srt" srclang="en" /> <p>Your browser leaves much to be desired.</p></video></div>var $vobj = $(mediaVideo);
								$vobj.appendTo("#tab1");
                              if(!Modernizr.video.ogg){
                                so.write("flash");}
                                 });

so is a swf object here.

Thanks in advance!