How to embed the player in a HTML page?

Read 15460 times
I was wondering how to get the player (only the player, the thing with the play button on) in a DIV-tag in another website?

I tried adding the following code in:

<DIV>
      <object id="fmp256" type="application/x-shockwave-flash" data="http://stream3.shoutcastusa.com/start/tzfcuzgs/minicaster.swf" width="180" height="70">
           <param name="movie" value="http://stream3.shoutcastusa.com/start/tzfcuzgs/minicaster.swf" />
           <param name="flashVars" value="config=http://stream3.shoutcastusa.com/tunein.php/tzfcuzgs/playlist.mc" />
           <param name="wmode" value="transparent" />
           <param name="allowScriptAccess" value="always" />
            <div class="stirfry">
            <h4>Minicaster Radio Playhead</h4>
            <p>To listen you must <a href="http://www.macromedia.com/go/getflashplayer/"
            title="Click here to install the Flash browser plugin from Macromedia">install Flash Player</a>. Visit
            <a href="http://www.draftlight.net/dnex/mp3player/minicaster/" title="Draftlight Networks">Draftlight Networks</a>
            for more info.</p></div>
         
         </object>
</DIV>

but it doesn't work...
also tried adding the stylesheets to no avail...

How to embed the player?

PS: How to do this is NOT explained in the code snippets
Muerta El Cascador - I had added this into our clients Quick Links page, here is the code -- Webmasters can add this in their Quick Links pages, I just added it in  <textarea></texarea> so clients could easily copy/paste into their web page

 <Centova Folder>/theme/templates/quicklinks.tpl

(THIS WILL ONLY WORK IF YOU HAVE THE FLASH PLAYER UPLOADED TO YOUR INSTALLATION ) https://secure.centova.com/pages/faqs/display/flash_audio_players_and_centova_88

<path to Centova> -- you should change this to your url (ie. www.radio.yourdomain.com//minicaster.swf)
 
-------------------------------------------------------------------

<object id="fmp256" type="application/x-shockwave-flash" data="http://<path to Centova>/minicaster.swf" width="180" height="70">
           <param name="movie" value="http://<path to Centova> /minicaster.swf" />
           <param name="flashVars" value="config=http://<path to Centova>/tunein.php/{$account.username}/playlist.mc" />
           <param name="wmode" value="transparent" />
           <param name="allowScriptAccess" value="always" />
            <div class="stirfry">
            <h4>Minicaster Radio Playhead</h4><p>To listen you must <a href="http://www.macromedia.com/go/getflashplayer/"
            title="Click here to install the Flash browser plugin from Macromedia">install Flash Player</a>. </p></div></object>


-------------------------------------------------------------------

Also, check out our flash player generator http://myautodj.com/flash_player_generator.php
My Auto DJ
Orlando, FL USA
Quality SHOUTcast Hosting http://myautodj.com
SHOUTcast Widgets http://shoutcastwidgets.com