2 Replies - 637 Views - Last Post: 22 September 2009 - 12:05 PM Rate Topic: -----

#1 vikas_naranje   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 34
  • Joined: 23-January 09

music file

Posted 21 September 2009 - 10:56 PM

<html>
<body> 
<embed src="music_files/3DAYSK.mid" autostart="false" loop="FALSE" width="240" height="40">							 
</body>
</html>



this is my musical site in which i tried to play a song. it's working fine with mid file but when i tried it to work with mp3 file it doesn't work. What changes i make to play mp3 music.
Is This A Good Question/Topic? 0
  • +

Replies To: music file

#2 ShaneK   User is offline

  • require_once("brain.php"); //Fatal error :/
  • member icon

Reputation: 240
  • View blog
  • Posts: 1,224
  • Joined: 10-May 09

Re: music file

Posted 22 September 2009 - 08:07 AM

These are the PHP boards and what you're asking about is purely HTML, perhaps you should try the HTML boards?

Yours,
Shane~
Was This Post Helpful? 0
  • +
  • -

#3 Wimpy   User is offline

  • R.I.P. ( Really Intelligent Person, right? )
  • member icon

Reputation: 159
  • View blog
  • Posts: 1,038
  • Joined: 02-May 09

Re: music file

Posted 22 September 2009 - 12:05 PM

Even though this is, as previously stated by Shane, a HTML issue you should actually just have to change the src="" attribute's value to point to an mp3 file instead of a midi file and it should work... But you should also note that the <embed>-tag (if I'm not mistaken) requires that there is a music player installed on your computer, quicktime, windows media player, real player, etc... Hope it helps! :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1