Re: HELP
By: Daryl Stout to ECHICKEN on Fri Jan 25 2019 03:13:00
Can one embed an HTML command, such as a sound file, so that it plays
when the BBS loads??
At the moment there isn't a great way to do something like this for *every* page on your site. I'll add an option soon that will allow you to load some custom HTML at the beginning or end of every page.
I would caution that a lot of users find autoplaying audio/video annoying, unless they're visiting a page specifically to watch/listen to something (linking to a youtube video, etc.).
It would be easy enough to add this just to your home page, pages/000-home.xjs:
<audio autoplay hidden>
<source src="thunder.mp3" type="audio/mpeg">
</audio>
The above might work if you dump it into the bottom of that file, and had a "thunder.mp3" in your website's document root.
---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)