bamme
Senior Member
Hi everyone,
Im using swfobject 2.2 (deconcept You’ve got your good thing, and I’ve got mine SWFObject: Javascript Flash Player detection and embed script) and want to use it to include a flash mp3 player on my page (MP3 Player).
the standard code given in the documentation for the flash mp3 player is as follows:
im not sure how to 'translate' the above line including the FlashVars, and put it into the code below, using swfobject, which is different to the code given in the documentation for the mp3 player, example here embedding using swfobject:
In the head section of page:
In the body:
can anyone help me out here? :S im not a flash designer but want to use swfobject for accessibility.. would v v much appreciate help..
Emma x
Im using swfobject 2.2 (deconcept You’ve got your good thing, and I’ve got mine SWFObject: Javascript Flash Player detection and embed script) and want to use it to include a flash mp3 player on my page (MP3 Player).
the standard code given in the documentation for the flash mp3 player is as follows:
Code:
<object type="application/x-shockwave-flash" data="player_mp3.swf" width="200" height="20"> <param name="movie" value="mp3_player_file.swf" /> <param name="FlashVars" value="mp3=mp3_name.mp3" /></object>
im not sure how to 'translate' the above line including the FlashVars, and put it into the code below, using swfobject, which is different to the code given in the documentation for the mp3 player, example here embedding using swfobject:
In the head section of page:
Code:
<script src="js/swfobject.js" type="text/javascript"></script> <script type="text/javascript"> swfobject.registerObject("video", "9"); </script>
In the body:
Code:
<object id="video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="328" height="290"> <param name="movie" value="the_movie_file.swf" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="the_movie_file.swf" width="328" height="290"> <!--<![endif]--> <p>Oops - looks like you don’t have Flash player Please <a href="http://get.adobe.com/flashplayer" target="_blank" rel="nofollow">click here</a> to install Flash Player.</p> <!--[if !IE]>--> </object> <!--<![endif]--> </object>
can anyone help me out here? :S im not a flash designer but want to use swfobject for accessibility.. would v v much appreciate help..
Emma x