Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: August 16, 2025, 1:33 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New MyCode
#1
New MyCode
After trying, and failing to find a MyCode tag to play sounds I have come up with one myself.

It works like this..

Code:
[sound]http://www.somedomain.com/somefile.mp3[/sound]

Now, I know you can use the url tag to do this but it sends you away from the page and I think this is far more elegant.

I've tested it on Opera, IE, Safari, Chrome and Firefox and it seems, so far to work ok.

Took me about an hour trying to figure out how to get the autostart=false to work across all the different browsers but I think I've cracked it.

Here is an example... Simply click play (Possibly twice)



If you encounter an problems (and I'm sure you will) please let me know so I can fiddle with it..
[Image: cinjin_banner_border.jpg]
Reply



Messages In This Thread
New MyCode - by Darwinian - September 14, 2008 at 11:44 am
RE: New MyCode - by Tiberius - September 14, 2008 at 12:52 pm
RE: New MyCode - by Darwinian - September 14, 2008 at 1:33 pm

Possibly Related Threads...
Thread Author Replies Views Last Post
  ImgFit MyCode Darwinian 5 5479 June 29, 2009 at 1:28 pm
Last Post: Purple Rabbit



Users browsing this thread: 1 Guest(s)