Click here to Skip to main content
13,193,048 members (62,933 online)
Rate this:
Please Sign up or sign in to vote.
i want to add music in my html page i am using but i can't upload my mp3 file there is their any solution you got there :|

<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>

<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>
<h2 align=justify> <font color='yellow' size='6'> Sir NAMAN ASSIGNMENT AFTER MID-term </h2></th>
<td> <a href="" </a> Click here to Download </td>
<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" />
<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>





Posted 1-Jan-13 5:54am
Rate this: bad
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 .

For mp3 files uploading issue, try contacting your hosting provider.
Rate this: bad
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171017.2 | Last Updated 1 Jan 2013
Copyright © CodeProject, 1999-2017
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