ClioSport.net

Register a free account today to become a member!
Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

web designers



its not flash, flash is a bit too complicated for me at the min

plus i dont want flash to take ages to load as ive had it do before when ive had backround music playing
 
  GW RS200
These are the instructions I have used many times and it works well:

Just follow these steps to create an MP3 playlist and convince Windows, MacOS X, and Linux browsers to play the songs in sequence, in the background, for as long as your page is displayed or until the end of the last song, repeating if desired.

Step One. Upload the MP3 files to your website. I'll assume your site is called www.example.com and the files are in a folder called example with the names a.mp3, b.mp3, c.mp3 and d.mp3.

Step Two. With plain old Windows Notepad or any other text editor, create a new text file called playlist.m3u. Place the following lines in the file:

http://www.example.com/example/a.mp3
http://www.example.com/example/b.mp3
http://www.example.com/example/c.mp3
http://www.example.com/example/d.mp3

Step Three. Save the playlist.m3u file and upload it to the example folder of your website, www.example.com.

Insert the embed element anywhere inside the body element of your page. If you choose to make the player visible, place the embed element at an appropriate location within the page.Step Four. Use the <embed> element to insert an audio player in your web page, like this. The <embed> element should appear in the <body> element of the page. You can make the player invisible by setting the width and height attributes to zero, but you don't have to. You do have to leave the type attribute set to audio/mpeg or this technique will not work in Firefox for Windows, which is now a very common browser:
<embed src="http://www.example.com/example/playlist.m3u"
autostart="true"
type="audio/mpeg"
loop="true"/>

Your .m3u file can be on any website. The src attribute of the embed element can contain any valid URL. Step Five. Access your page. You should hear the four songs play in order and then repeat (because we set loop="true").
 
  GW RS200
As long as you don't change pages.

It can still be done if you do need to though. Just make a page that has two frames with no borders. Make the left hand one only a couple of pixels across and make that the music playing page, then make the rest of the site open in to the frame on the right. That way they can navigate freely while the music page stays open on the left.
 

sn00p

ClioSport Club Member
  A blue one.
Please. Please. Please, for the love of god, do not stream music into somebodies browser. It's about the most invasive and annoying thing that you can do "design wise".

Any site that I visit that starts playing music to me will be closed immediately!
 
  GW RS200
ah, as far as i kno the page changes with each slide change, so would that idea not work then?

Yes it can still be done:

"It can still be done if you do need to though. Just make a page that has two frames with no borders. Make the left hand one only a couple of pixels across and make that the music playing page, then make the rest of the >site open in to the frame on the right. That way they can navigate freely while the music page stays open on the left."
 
  cock mobile.
ah, as far as i kno the page changes with each slide change, so would that idea not work then?

Yes it can still be done:

"It can still be done if you do need to though. Just make a page that has two frames with no borders. Make the left hand one only a couple of pixels across and make that the music playing page, then make the rest of the >site open in to the frame on the right. That way they can navigate freely while the music page stays open on the left."

Could also use an iFrame but you' may to run into browser compatibility issues.

Agree with snoop!
 
Please. Please. Please, for the love of god, do not stream music into somebodies browser. It's about the most invasive and annoying thing that you can do "design wise".

Any site that I visit that starts playing music to me will be closed immediately!

well this is what this guy wants on his site

ah, as far as i kno the page changes with each slide change, so would that idea not work then?

Yes it can still be done:

"It can still be done if you do need to though. Just make a page that has two frames with no borders. Make the left hand one only a couple of pixels across and make that the music playing page, then make the rest of the >site open in to the frame on the right. That way they can navigate freely while the music page stays open on the left."

cheers for all the advise bud, i'll give it a go and let you kno how i get on
 
  Turbos.
Agree with what has been said. Works in flash sites ok, but then i'd only do it if it was actually worthwile, e.g for a band website or something.
 
  Blown up 182 & Mondeo TDI
If your going to do it use flash as then you can give the user the chance to turn it of. It streams in the background so it wont slow the loading of the site (if its done properly). Goto www.fashkit.com and look int he movies section. There are loads of flash files already done that do this and youll only need to tweek them.
 


Top