modest Posted April 15, 2011 Report Share Posted April 15, 2011 I want to play a .swf unless the system is unable (eg iphone, ipad, ipod) in which case, I'd like to play a *.mp4. I thought i had it worked out 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 plays the swf on my PCs and the mp4 on my iphone, but the fella I'm doing this for says that it doesn't work on his ipad... and that's really the whole reason I'm doing it. So, is there a better way to do this, or can anyone spot how I've done it terribly wrong? The code / vid is on this page: http://propertysolutionskc.com/construction.html and another without javascript here: http://propertysolutionskc.com/listing017.html thanks very much in advance ~modest Quote Link to comment Share on other sites More sharing options...
alexander Posted April 15, 2011 Report Share Posted April 15, 2011 use another player? Is it an H.264/AVC encoded MP4? wondering why it doesn't play. It may also be a really old version of IOS ;) some people never update, and there may have been issues with video playback on the earlier ipad versions of iOS. list: http://praegnanz.de/html5video/ this one looks particularly interesting:http://dev.mennerich.name/showroom/html5_video/ P.S. wow thats an ugly-looking website... woow Quote Link to comment Share on other sites More sharing options...
modest Posted May 21, 2011 Author Report Share Posted May 21, 2011 Thank you, Alex ~modest Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.