REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MP3 Player MyCode
#1
This is basically a MP3 Player that you can embed in your posts.

If you want any color customizing of this, please PM me.

Regular Expression
Code:
\[mp3\](.*?)\[/mp3\]

Replacement
Code:
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='240' height='24'><param name='movie' value='http://img227.imageshack.us/img227/3087/playergv1.swf?soundFile=$1&autostart=yes&loop=no' /><param name='quality' value='high' /><param value='transparent' name='wmode' /><embed src='http://img227.imageshack.us/img227/3087/playergv1.swf?soundFile=$1&autostart=yes&loop=no' width='240' height='24' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' wmode='transparent'></embed></object>

Example
Code:
[mp3]http://www.domain.com/file.mp3[/mp3]

Becomes

[Image: 2vamasz.png]



Version 2

Regular Expression
Code:
\[mp3\](.*?)\[/mp3\]

Replacement
Code:
<embed type='application/x-shockwave-flash' src='http://betaforums.co.cc/mp.swf?height=20&width=350&autostart=true&file=$1&enablejs=true&frontcolor=0xEEEEEE&backcolor=0x737BA5&lightcolor=0xCCFFFF&type=mp3&searchbar=false&bufferlength=10' style='' quality='high' flashvars='height=20&width=350&autostart=true&file=$1&enablejs=true&frontcolor=0xEEEEEE&backcolor=0x737BA5&lightcolor=0xCCFFFF&type=mp3&searchbar=false&bufferlength=10' width='350' height='20'>

Becomes

[Image: o6buhg.png]

Enjoy
Neo
Smile
#2
that's pretty cool ^^ kudos if it works
[Image: firechaoeyebutton.png][Image: button.php?u=firechao]
#3
Dude I <3 you
Can you make it so it doesn't auto play ?
http://www.emp3world.com/mp3/33461/Match...nty/Unwell

You may be able to use that site at a template for some with a volume and that doesn't auto play.
#4
(Jul 19, 2010, 10:13 AM)IceGuru Wrote: Dude I <3 you
Can you make it so it doesn't auto play ?
http://www.emp3world.com/mp3/33461/Match...nty/Unwell

You may be able to use that site at a template for some with a volume and that doesn't auto play.

Yes I can make it so it doesn't auto play, just remove the two &autoplay=yes

And yes I can change it to that skin, you want me to PM it?
Smile
#5
Yes please ... will it have a volume ?
#6
(Jul 19, 2010, 10:42 AM)IceGuru Wrote: Yes please ... will it have a volume ?

Yes. I will PM you now.
Smile
#7
I'll be waiting
#8
Nice Smile
Thanks!
#9
Neo I never got that PM
#10
You've gotten the code now.
Smile


Possibly Related Threads...
Thread Author Replies Views Last Post
  MyCode in Thread Title Black Kat 7 7,139 Sep 12, 2010, 01:27 AM
Last Post: Kaleb
  Youtube Mycode labrocca 45 38,308 Aug 02, 2010, 10:10 AM
Last Post: Guru
  MyCode Tutorial Elite Dash 2 3,029 Jul 24, 2010, 01:31 PM
Last Post: Elite Dash
  MyCode GOEAR darkmantk 9 5,350 Jul 22, 2010, 04:40 PM
Last Post: 88power88
  SpeedTest Mycode Plugin [1.4.x] Mycode King 13 8,906 Jun 05, 2010, 05:49 AM
Last Post: MasterZuFu

Forum Jump:


Users browsing this thread: 1 Guest(s)