|
| |
|
|
Aaron
Posts: 43 Joined: 12/9/2003 Status: offline
|
Music... - 5/1/2004 13:30:06
Hey, I am trying to get a song to play on the intro page of a website I am building. I have the song uploaded to the ftp as a .mp3 filetype. When I try to add the song to the site via HTML, the song doesn't load. Here is the HTML Code I am using: <embed src="Troggs - Wild Thing (original).mp3" autostart="true" loop="true" width="300" height="50"> </embed> Is there a problem with the code I am using? The link to the site I am working on is http://skillsawdesigns.com/doubled/ . I am wanting the music to load on the intro if possible. Thanks!
|
|
|
|
Aaron
Posts: 43 Joined: 12/9/2003 Status: offline
|
RE: Music... - 5/1/2004 13:46:09
I got it going......Thanks!
|
|
|
|
Aaron
Posts: 43 Joined: 12/9/2003 Status: offline
|
RE: Music... - 5/2/2004 12:08:24
sorry about that lol. That was my bad. I did that site in HTML. I couldn't get the music to load when I was trying to add the song to the top of the page, above the picture, just to see if it would work. Well, it wasn't working, & that is when I made this thread. Soon after I made the thread, I moved the song below the picture on the frontpage of the site. As soon as I moved it to the bottom, it worked. Here is the Code again, that I used. Right above this is the picture, which I made the intro.... <tr> <td> <embed src="Troggs - Wild Thing (original).mp3" autostart="true" loop="true" width="300" height="50"> </embed> </td> </tr> </table> .....This is the last thing on the page, that's why it has the </table> on the end. I have one more question though. I have had a few 56k'ers that have told me it loads VERY slow for them, & I get the same thing. What I am wondering is, does anyone know how to edit a song, so the whole song doesn't load. Would only having about half of the song make the page load any faster? Or does any sound slow down a website this bad? Thanks in Advance! Hope this helps...
|
|
|
|
Giomanach
Posts: 6128 Joined: 11/19/2003 From: England Status: offline
|
RE: Music... - 5/2/2004 12:25:12
Best and most simple solution for music: Don't use it. You would be better off streaming the music rather than embedding the mp3 file. Also, bg music is mainly IE only. Embedding requires plugins when using Mozilla (whether it be Firefox/bird or just plain ol' mozilla), Opera and NN don't like it. IE is just plain old boring and takes the lot. Do you know how to stream music? Dan
_____________________________
|
|
|
|
Aaron
Posts: 43 Joined: 12/9/2003 Status: offline
|
RE: Music... - 5/2/2004 19:27:16
thanks for the reply. I don't know how to stream music. The reason the site has music, is because the drivers nickname is "Wild Thang" and they thought it would be cool to have that song on there. Any help is appreciated! Thanks in Advance
|
|
|
|
Giomanach
Posts: 6128 Joined: 11/19/2003 From: England Status: offline
|
RE: Music... - 5/3/2004 2:53:37
Streaming music: Upload the mp3 to the desrired server, note the EXACT locaton of the mp3. Open up notepad. Insert the location of the mp3. Save the file as .m3u Update link in HTML doc, and upload to server, along with the HTML doc. Dan
_____________________________
|
|
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: Music... - 5/3/2004 11:28:41
If you can stream files on your server, this will work too. I had a friend who asked the same question awhile back, we finally figured this method out. Copy and paste this: #EXTM3U #EXTINF:0,file.mp3 http://www.domain.com/file.mp3 Change domain.com to your domain and file.mp3 to your file. Save as file.m3u and upload to your server. Streams nicely with 56K and Broadband if using WMP, Real, or QT, but WinAMP seems to lag massively over 56K, probably due to the fact it doesn't cache the file. To add multiple files to your streaming playlist: #EXTM3U http://domain.com/file.mp3 http://domain.com/file2.mp3 http://domain.com/file3.mp3 You get the idea, also the second line that I gave above is never needed.
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
FlowerPower
Posts: 67 Joined: 4/27/2004 Status: offline
|
RE: Music... - 5/3/2004 23:21:35
This made me curious. I think I understood the instructions (create a text file with the few lines of code you provided, save the file as something_something.m3u, and upload it to the web server along with the something_something.mp3 file I want to stream). However, do I then insert in the HTML code of the index page a link to this .m3u file? Does streaming video work along similar principles? Thanks, FP
|
|
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: Music... - 5/3/2004 23:31:58
<a href="music_file01.m3u">Music File 01</a> Does streaming video work along similar principles? - This is streaming video...
< Message edited by BobbyDouglas -- 5/3/2004 23:36:19 >
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
FlowerPower
Posts: 67 Joined: 4/27/2004 Status: offline
|
RE: Music... - 5/3/2004 23:39:50
Thanks, And if I would like the streaming file to start playing automatically, would this do it, or is there an easier way? <body> <embed src="mozart_requiem mass.m3u" autostart="true" loop="true" width="0" height="0"</embed> <!-- etc., etc. --> FP
|
|
|
|
Aaron
Posts: 43 Joined: 12/9/2003 Status: offline
|
RE: Music... - 5/5/2004 16:58:45
Thanks for all your help! I tried to insert the #EXTM3U #EXTINF:0,file.mp3 http://www.domain.com/file.mp3 ..........into the code, but with .m3u filetype. I have no clue how to convert a .mp3 to another filetype. Can someone explain how? Also, check your PM's Jaybee.. Thanks!
|
|
|
|
FlowerPower
Posts: 67 Joined: 4/27/2004 Status: offline
|
RE: Music... - 5/9/2004 21:38:53
Oh, one more thing. If I want to be sure that it's actually loading the file from the web server and not from some sort of local cache (I believe I'm referring to what in English is called "flushing the cache" or something along those lines?), is it enough to clear the temporary internet files, or would I need to do something else? Thanks for your patient replies :)
|
|
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: Music... - 5/9/2004 21:59:48
Deleting the temporary files should work for ya. You can also just hold down the shift key and click refresh. Or Shift+F5 does the trick in IE. I would test it on another computer running 56k.
< Message edited by BobbyDouglas -- 5/9/2004 22:02:48 >
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|