PDA

View Full Version : Flash, Apple mobile, and Ineptitude



GroundHog
15 Apr 2011, 03: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.

jennicasmith
06 Jan 2012, 05:24 PM
Are you creating an application or a software? well just curious since you had given a codes you had used.

Professional Apple iPhone Repair Services (http://www.fix-iphones.com/)