Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
i want to add music in my html page i am using site50.net but i can't upload my mp3 file there is their any solution you got there Hmmm | :|
 

<html>
<body>
<body bgcolor="black">
<body text="white">
<h1 align=center> h3lL()!WRL(| </h1>
<h3 align=center> Welcome to BSCS 2k12 NFC IET website</h3>
<p align=center><font size=3 color=pink> HEllo to All bscs 2k12 here we are puting music , chatbox and everything that you will need almost data of all the assignments
recent events happened in IET and many much more it's not about entertainment only but it is for you
we provide you with all the required material </font> </p>
 

<tr>
<table border='7'>
<th align=left> <pre>                                     Well this website is all about 2k12 </pre><pre>
</pre><pre>                                Here you can chat with your classmates freely without having any trouble          </pre>
  <pre>                                Even our class girls can communicate with others here no need to worry about anything                  </pre></th></tr>
<tr>
<th>
<h2 align=justify> <font color='yellow' size='6'> Sir NAMAN ASSIGNMENT AFTER MID-term </h2></th>
<td> <a href="http://www.tinyurl.com/sirzahid" </a> Click here to Download </td>
</tr>
<object type="audio/mp3" data="e:\myhtml\training.mp3" width="2000" height="160" autoplay="true">
<param name="src" value="e:\myhtml\training.mp3" />
<param name="autoplay" value="true" />
</object>
<ol>
<li><b> WHat boooorrred from us </b></li>
<li><strong> NO worries we are here to help you </strong> </li>
<li> <b> Lets put some music in our site </li>
</ol>
 

 

 

 

 

</body>
</html>
Posted 1-Jan-13 6:54am
jahanxb327
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

First upload your files on server and then mention the relative path in your source. It cannot be E:\myhtml\training.mp3. It could be http://mysite.net/audio/training.mp3 .
 

For mp3 files uploading issue, try contacting your hosting provider.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You should also know that if you don't own the music, you can get arrested.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 329
1 Maciej Los 290
2 Sergey Alexandrovich Kryukov 230
3 Shweta N Mishra 185
4 PIEBALDconsult 149
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,760


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 1 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100