lwerdna / bugtrack

bughouse rating and tracking software
GNU General Public License v3.0
4 stars 2 forks source link

Adding sounds #28

Open thompGIT opened 12 years ago

thompGIT commented 12 years ago

To spice things up, I'm hoping to add audio to the matchups when they are interesting. For example, some kind of audio queue can be played when a 5-win streak is recorded. I have some good ones, but want to keep them as Easter Eggs until the events are triggered.

The

Here is a sample snipped of code to use...

< audio autoplay="autoplay"> < source src="sounds/SomeRandom.mp3" type="audio/mpeg" /> < /audio>

Be sure the file specified is on the server, duh.

Note: The weird extra space after the opening tag is to keep GitHub from stripping the HTML code from the comment and serves no other purpose.

lwerdna commented 12 years ago

will try soon, looks cool