ok. I use now
<div id="video" style="display:none">
 <video id="example_video_1" class="video-js" width="900" height="575"
controls preload="auto" poster="video.png"></video>
 </div>
I tested on Windows - just blank page. It seems  does not like
style="display:none" but I don't know another solition.


2014-07-20 18:42 GMT+04:00 Ross P. Sclafani <ross.sclaf...@gmail.com>:

> You don't embed QuickTime for iOS, you use the html5 video tag.
> Whatever solution you use should do that when flash isn't detected.
>
> Sent from my iPhone
>
> > On Jul 20, 2014, at 3:36 AM, natalia Vikhtinskaya <natavi.m...@gmail.com>
> wrote:
> >
> > Hi
> > I am trying to find a simple way to show video file for devices that
> don't
> > have Flash
> > Here is the code
> >
> > <div id="video" style="display:none">
> > <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
> > CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"; WIDTH="900"
> > HEIGHT="575" >
> > <PARAM NAME="src" VALUE="jack_giant_video.mp4" >
> > <PARAM NAME="autoplay" VALUE="true" >
> > <EMBED SRC="jack_giant_video.mp4" TYPE="image/x-macpaint"
> > PLUGINSPAGE="http://www.apple.com/quicktime/download"; WIDTH="900"
> > HEIGHT="575" AUTOPLAY="true"></EMBED>
> > </OBJECT>
> > </div>
> > <div id="flash" style="display:block">
> > <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
> >
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0
> "
> > width="100%" height="100%" id="jack_giant" align="middle">
> > <param name="allowScriptAccess" value="sameDomain" />
> > <param name="allowFullScreen" value="false" />
> > <param name="movie" value="jack_giant.swf" /><param name="quality"
> > value="high" /><param name="scale" value="noscale" /><param
> name="bgcolor"
> > value="#fdef96" /> <embed src="jack_giant.swf" quality="high"
> > scale="noscale" bgcolor="#fdef96" width="100%" height="100%"
> > name="jack_giant" align="middle" allowScriptAccess="sameDomain"
> > allowFullScreen="false" type="application/x-shockwave-flash"
> pluginspage="
> > http://www.macromedia.com/go/getflashplayer"; />
> > </object>
> > </div>
> > <script language="javascript">
> > if ((navigator.userAgent.match(/iPad/i) != null) ||
> > (navigator.userAgent.match(/iPhone/i) != null) ||
> > (navigator.userAgent.match(/iPod/i) != null)) {
> > document.getElementById("video").style.display = "block";
> > document.getElementById("flash").style.display = "none"; }
> > </script>
> >
> > But unfortunately that does not work.
> > Can anybody give me an advice what is the correct way for this task?
> > Thank you very much in advance.
> > _______________________________________________
> > 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
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to