Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Play/Stop Icon


libobasay

Recommended Posts

Posted

I'm trying to add an icon that plays music, but does not open Windows Media Player or any other type of media player. How can I add an icon so the music plays on the same page without leaving the website? :rolleyes:

Posted

Well personally I like to use flash for things like that. If you don't have flash then you could try something like this. Make sure have the rights to play what ever music your playing.

<object classid=clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6 id="WindowsMediaPlayer" width="230" height="30" border="0">
 <param name="URL" value="yoursite.com/your_music.mp3">
 <param name="rate" value="1">
 <param name="balance" value="0">
 <param name="currentPosition" value="0">
 <param name="defaultFrame" value>
 <param name="playCount" value="1">
 <param name="autoStart" value="0">
 <param name="currentMarker" value="0">
 <param name="invokeURLs" value="-1">
 <param name="baseURL" value>
 <param name="volume" value="50">
 <param name="mute" value="0">
 <param name="uiMode" value="full">
 <param name="stretchToFit" value="0">
 <param name="windowlessVideo" value="0">
 <param name="enabled" value="-1">
 <param name="enableContextMenu" value="-1">
 <param name="fullScreen" value="0">
 <param name="SAMIStyle" value>
 <param name="SAMILang" value>
 <param name="SAMIFilename" value>
 <param name="captioningID" value>
 <param name="enableErrorDialogs" value="0">
 <param name="_cx" value="6085">
 <param name="_cy" value="794">
</object>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...