TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 446
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 313
  • Total: 313

Playing a sound

Started by bgcntry, September 06, 2007, 04:48:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bgcntry

Question for anybody:
Part of my forum is dedicated to those of us that play fantasy football and I had an idea, I would like it if I could get the Sports center cut scene sound to play anytime someone opens the thread for fantasy football....is this even possible?

I am using Helios Multi

Thanks


IchBin

I don't know the code, but if you can find some javascript or something that will automatically play a file you can do it with a bit of php in your index.template.php file.

if ($context['current_board'] == 3){
    echo 'your sound code here';
}


This would output your sound code if you were inside board number 3.

bloc

For the sound to play, try <BGSOUND SRC="test.wav" LOOP="1">

IchBin

Well, there you go lol. I've never played with sound in a web page so I didn't know it could have been so easy. :)

bloc

Its actually not so used anymore I think, not now that flash can do the same and more really.

This website is proudly hosted on Crocweb Cloud Website Hosting.