• Mp3 Player
    18 replies, posted
I made a website with HTML, and would like a music player on the index page. Most of what i've found through google is just different player's for Myspace etc. and <bgsound src="TRACK.mp3" loop="true" autoplay="true" hidden="true"></center> Doesn't work in Firefox. So is there a way to make it play in Firefox? oh and I'd like to be able to see the player so you can pause it.
The only cross-browser method you can do that is through Flash. There's plenty around, from GrupoSistemas Player to JW FLV Player. The <bgsound> element is deprecated and you shouldn't use it. And you may need to relearn HTML considering that you're closing it with a completely different tag. [editline]06:12PM[/editline] No, not "shouldn't use it", you should [b]NEVER, EVER[/b] use it. [editline]06:13PM[/editline] In any case, having music playing in the background of a web page in general is a very bad idea, and if you absolutely must have music, then let people turn it off
[b]Don't.[/b]
[QUOTE=a2h;20605392]The only cross-browser method you can do that is through Flash. There's plenty around, from GrupoSistemas Player to JW FLV Player.[/quote] thankyou I haven't come across those yet, perhaps im googling the wrong terms [QUOTE=a2h;20605392]And you may need to relearn HTML considering that you're closing it with a completely different tag.[/quote] It's far from perfect. I know. i copied that code from another site which does the same thing, most of the code on my site I didn't write myself, i just gathered it from other sites. [QUOTE=a2h;20605392], and if you absolutely must have music, then let people turn it off[/QUOTE] that's what im trying to do. NOTE: it's not a full site yet. only vistor's so far would have been me and a few of my friends.
No, seriously. Don't even bother with background music. Seriously. Just don't.
[QUOTE=turb_;20605731]No, seriously. Don't even bother with background music. Seriously. Just don't.[/QUOTE] Sir, I'm asking how to, not wether to :downs:
[url=http://www.w3schools.com/html5/tag_audio.asp]<audio>[/url]
[QUOTE=cas97;20609303][url=http://www.w3schools.com/html5/tag_audio.asp]<audio>[/url][/QUOTE] Much appreciated sir.
That's HTML5. Depending on your audience some/many visitors might not be able to use it.
[QUOTE=Tu154M;20610377]That's HTML5. Depending on your audience some/many visitors might not be able to use it.[/QUOTE] The man doesn't even understand what html IS. Do you think he is going to comprehend, give to shits about compatability. That said, if he is that adamant to have background audio on his site on load, maybe it's better that people can't see it.
[QUOTE=Tu154M;20610377]That's HTML5. Depending on your audience some/many visitors might not be able to use it.[/QUOTE] Thanks for pointing that out. :downs: [QUOTE=Cluckyx;20615351]The man doesn't even understand what html IS. Do you think he is going to comprehend, give to shits about compatability. That said, if he is that adamant to have background audio on his site on load, maybe it's better that people can't see it.[/QUOTE] Compatbility isn't a massive issue. i'll only have about three visitors most likely. It's a sort of noticeboard for a group of friends.
If it's only something simple for a few friends, why not use Grooveshark to do it? [url]http://widgets.grooveshark.com/[/url]
whenever i need to add sound to a website i use [URL="http://www.longtailvideo.com/players/jw-flv-player/"]JW Player [/URL]
I should make a flash file for you to do this. Nah.
I found that if you use [URL="http://flash-mp3-player.net/players/normal/generator/"]this[/URL] as the back to your website, you don't need to upload any stupid Javascript or Flash. Just copy the code and it uses the flash served on their website. Just fill in the values. This worked invaluably on my forum.
[QUOTE=geel9;20658369]I should make a flash file for you to do this. Nah.[/QUOTE] you're so funny
[QUOTE=rtheone;20658621]I found that if you use [URL="http://flash-mp3-player.net/players/normal/generator/"]this[/URL] as the back to your website, you don't need to upload any stupid Javascript or Flash. Just copy the code and it uses the flash served on their website. Just fill in the values. This worked invaluably on my forum.[/QUOTE] Thanks everyone else for your replys. I'll be using rtheone's link though :) Much appreciated sir [editline]05:08PM[/editline] [QUOTE=Ibutsu;20647399]If it's only something simple for a few friends, why not use Grooveshark to do it? [url]http://widgets.grooveshark.com/[/url][/QUOTE] Currently down so I'll go with the other guys site. Thanks though
[QUOTE=Mokkan13;20660662]Currently down so I'll go with the other guys site. Thanks though[/QUOTE] That's like family friends of mine who went to BMW to buy a new car, but they were closed so they went to Lexus instead...
[QUOTE=Tu154M;20610377]That's HTML5. Depending on your audience some/many visitors might not be able to use it.[/QUOTE] who cares, it's something that the people visiting would probably turn off anyway
Sorry, you need to Log In to post a reply to this thread.