kaitia
New Member
- Messages
- 7
- Reaction score
- 0
- Points
- 0
Aloha folks,
I am been wrestling with this concept for a while now. I have a mp3 that I would like users to be able to listen to. However, I don't want them to be able to download the file.
From my research, I've found that we should be using the object tag since embed is depricated. However, I can not get this thing to work. Below is my code. Could someone let me know what looks wrong?
<object classid="6BF52A52-394A-11d3-B153-00C04F79FAA6" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/ nsmp2inf.cab#Version=6,0,02,902" width="200" height="20">
<param name="src" value="music/thankyou.mp3">
<param name="controller" value="true">
<param name="autoStart" value="0">
<!--[if !IE]> <-->
<object type="audio/mpeg" data="music/thankyou.mp3" width="200" height="20">
<param name="src" value="music/thankyou.mp3">
<param name="controller" value="true">
<param name="autoStart" value="0">
</object>
<!--> <![endif]-->
</object>
I am been wrestling with this concept for a while now. I have a mp3 that I would like users to be able to listen to. However, I don't want them to be able to download the file.
From my research, I've found that we should be using the object tag since embed is depricated. However, I can not get this thing to work. Below is my code. Could someone let me know what looks wrong?
<object classid="6BF52A52-394A-11d3-B153-00C04F79FAA6" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/ nsmp2inf.cab#Version=6,0,02,902" width="200" height="20">
<param name="src" value="music/thankyou.mp3">
<param name="controller" value="true">
<param name="autoStart" value="0">
<!--[if !IE]> <-->
<object type="audio/mpeg" data="music/thankyou.mp3" width="200" height="20">
<param name="src" value="music/thankyou.mp3">
<param name="controller" value="true">
<param name="autoStart" value="0">
</object>
<!--> <![endif]-->
</object>