Jump to content


Photo

Music Block?


  • Please log in to reply
12 replies to this topic

#1 nightlife

nightlife
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 28 August 2006 - 12:29 PM

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.  ::)

#2 tomfmason

tomfmason
  • Staff Alumni
  • Advanced Member
  • 1,696 posts
  • Locationstealing your wifi

Posted 28 August 2006 - 01:00 PM

Well if you are just wanting to play an mp3 or something like then all you have to do is something like this.

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


Hope this helps,
Tom

Traveling East in search of instruction, and West to propagate the knowledge I have had gained.

current projects: pokersource

My Blog | My Pastebin | PHP Validation class | Backtrack linux


#3 nightlife

nightlife
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 28 August 2006 - 01:08 PM

Thanks m8, what part of the site do i place the script? on what file.

#4 tomfmason

tomfmason
  • Staff Alumni
  • Advanced Member
  • 1,696 posts
  • Locationstealing your wifi

Posted 28 August 2006 - 01:13 PM

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

Traveling East in search of instruction, and West to propagate the knowledge I have had gained.

current projects: pokersource

My Blog | My Pastebin | PHP Validation class | Backtrack linux


#5 .josh

.josh
  • Staff Alumni
  • .josh
  • 14,871 posts

Posted 28 August 2006 - 01:14 PM

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)
Did I help you? Feeling generous? Buy me lunch! 
Please, take the time and do some research and find out how much it would have cost you to get your help from a decent paid-for source. A "roll-of-the-dice" freelancer will charge you $5-$15/hr. A decent entry level freelancer will charge you around $15-30/hr. A professional will charge you anywhere from $50-$100/hr. An agency will charge anywhere from $100-$250/hr. Think about all this when soliciting for help here. Think about how much money you are making from the work you are asking for help on. No, we do not expect you to pay for the help given here, but donating a few bucks is a fraction of the cost of what you would have paid, shows your appreciation, helps motivate people to keep offering help without the pricetag, and helps make this a higher quality free-help community :)

#6 nightlife

nightlife
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 28 August 2006 - 01:19 PM

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?

#7 nightlife

nightlife
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 28 August 2006 - 01:45 PM

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>


#8 nightlife

nightlife
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 28 August 2006 - 05:04 PM

Anyone?

#9 nightlife

nightlife
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 31 August 2006 - 12:21 PM

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.

#10 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 31 August 2006 - 12:47 PM

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. 
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#11 nightlife

nightlife
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 31 August 2006 - 01:51 PM

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.

#12 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 31 August 2006 - 02:08 PM

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.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#13 nightlife

nightlife
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 31 August 2006 - 04:28 PM

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?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users