Trying to get SWF file to play in HTML 5

I am trying to get a SWF file to play in HTML 5, using the code below:
<video width="650" height="90" controls="controls" src="CarePlanners6.swf" type="application/x-shockwave-flash" >
 Your browser does not support the video tag.
 </video>  
 
OR

<video controls="controls">
<source src="CarePlanners6.swf" type="application/x-shockwave-flash" preload="auto" width="650" height="90" codecs="" />  
 Your browser does not support the video tag.
</video> 

Open in new window


The result is this: http://careplanners.net/pages/Affiliates.cfm

... a black empty box, with an X in the middle (in MSIE 9). The web server is configured to serve MIME type application/x-shockwave-flash.

Is there a way to get HTML 5 to render a SWF file?

Thanks for any advice.

Eric
LVL 3
Eric BourlandAsked:
Who is Participating?
 
celazkonCommented:
Hi, I would try to add some player:
http://flowplayer.org/
http://videojs.com/
0
 
dgofmanCommented:
Yes you can embed SWF into your page using JavaScript

http://code.google.com/p/swfobject/
0
 
Eric BourlandAuthor Commented:
Guys, thanks for these ideas. I think I could get either solution to work, and I am glad to know about both solutions. I don't think that HTML 5 natively supports SWF files, which is too bad. In the end I used the plain old OBJECT tag code to implement the Flash files. I'm going to close this question and split the points. Thank you again for your time and help.

Eric
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.