Jump to content

Archived

This topic is now archived and is closed to further replies.

nightlife

Music Block?

Recommended Posts

Do i have to find a music block to play music on my site? or is it just a script.

would you please tell me what i have to get, and how to install it thanks.  ::)

Share this post


Link to post
Share on other sites
Well if you are just wanting to play an mp3 or something like then all you have to do is something like this.

[code]
<embed src="your.mp3" width="140" height="40" autostart="false" loop="false"></embed>

[/code]

Hope this helps,
Tom

Share this post


Link to post
Share on other sites
You can place this in any html file. If you want it to start the song when the page loads then set autostart to true

Share this post


Link to post
Share on other sites
whichever page you want the music to be played on,  usually.  for instance, if you are going to www.blah.com/mymusic.php (or mymusic.html for that matter, seeing as how that's piece of code isn't even php it's plain old html), then you'd want to put it on it on mymusic.php (or .html or whatever filename)

Share this post


Link to post
Share on other sites
Would i be able to have a php script that would give members a choice of songs to play, or evan play more than one song after the first song has played ie, if the member was on the site for some time the songs would change?

Share this post


Link to post
Share on other sites
I just used this script, and it works just like the one above, but i realy would like it to not keep starting over ever time i click onto a new post, or thread.

can this be changed or like i just asked, can i use some kind of juke box to give a choice of songs, or play one after the other? thanks for you time.

<div align="center"><br>
<object width="187" height="40"
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
id="mediaplayer1">
<param name="Filename" value="http://mymusic.mp3">
<param name="AutoStart" value="True">
<param name="ShowControls" value="True">
<param name="ShowStatusBar" value="False">
<param name="ShowDisplay" value="False">
<param name="AutoRewind" value="False">
</object></div>

Share this post


Link to post
Share on other sites
Does anyone know what i should use for adding the jukebox to my site, or a script that would work like a jukebox, and is thier away to keep the tune playing no matter what page you click onto next, i have a set music script on right now, its  the one above, but ever time i change pages it reloads the song, so i have it playing twice, ????  any help please.  i'm using php plat.

Share this post


Link to post
Share on other sites
When a user goes to your index page use a popup that apears in the corner of there browser whith the tune,s playing.

This way no matter what page the user goes to the music is playing constantly unless the user closes the popup window.

please also remember that playing music on a site constantly will reduce the page load of all pages and in some cases users just leave.

good luck. 

Share this post


Link to post
Share on other sites
That sound like a good idea, but how would i get the popup for the site and how would i add the music, and would pop up blocker stop this? if so maybe not what i'm after.

Share this post


Link to post
Share on other sites
well make it even easer why not put the music in the header.php where you have got your header logo showing dynamickly.

tell the truth i was running a radio station a long time ago and the popup worked for me.

Share this post


Link to post
Share on other sites
Will the script work if placed on a php file? the one i have above?  and  how do i make that script play more than one song?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.