GroundHog
15 Apr 2011, 04:38 AM
Hello all.
I'm trying to play an swf unless the OS is unable (eg iphone, ipod, ipad) in which case I'd want a mp4 to play. I thought I had it working with this:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="366" height="275" id="Project1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="video/Project1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#d6dbef" />
<embed src="video/Project1.swf" quality="high" bgcolor="#d6dbef" width="366" height="275" name="Project1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
<video width="366" height="275">
<source src="video/Project1.swf" type="video/swf">
<source src="video/Project1.mp4" type="video/mp4">
</video>
</embed>
<PARAM NAME="autoplay" VALUE="true" >
</object>
which seems to play the swf fine on my PCs and the mp4 fine on my iphone, but the person I'm doing this for insists that it is not working on his ipad and getting it to work on his ipad is the whole reason I'm messing with the mp4s in the first place.
Here is the code implemented:
http://propertysolutionskc.com/construction.html
and here again without javascript:
http://propertysolutionskc.com/listing017.html
Any help would be very much appreciated.
I'm trying to play an swf unless the OS is unable (eg iphone, ipod, ipad) in which case I'd want a mp4 to play. I thought I had it working with this:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="366" height="275" id="Project1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="video/Project1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#d6dbef" />
<embed src="video/Project1.swf" quality="high" bgcolor="#d6dbef" width="366" height="275" name="Project1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
<video width="366" height="275">
<source src="video/Project1.swf" type="video/swf">
<source src="video/Project1.mp4" type="video/mp4">
</video>
</embed>
<PARAM NAME="autoplay" VALUE="true" >
</object>
which seems to play the swf fine on my PCs and the mp4 fine on my iphone, but the person I'm doing this for insists that it is not working on his ipad and getting it to work on his ipad is the whole reason I'm messing with the mp4s in the first place.
Here is the code implemented:
http://propertysolutionskc.com/construction.html
and here again without javascript:
http://propertysolutionskc.com/listing017.html
Any help would be very much appreciated.