IDNetters Forums

Technical News & Discussion => Windows News & Discussion => Topic started by: Myst on Dec 19, 2008, 15:57:31

Title: Embedding sound
Post by: Myst on Dec 19, 2008, 15:57:31
One of my sites uses smf.
usually at this time of year i tend to embed a xmas song in the index.php code which autoplays and is hidden

however i'm getting a parse error line 24 or whatever, as i have completley forgotten what i did in previous years.

anyone know what the code should be

Title: Re: Embedding sound
Post by: Rik on Dec 19, 2008, 16:00:00
Simon might be able to help, Myst, they use embedded sound on their board at Pals.
Title: Re: Embedding sound
Post by: Simon on Dec 19, 2008, 16:30:48
The sounds on PC Pals are embedded in the individual members' "flash" (swf) sigs, and are not part of the forum coding, so sorry, but I can't help you with that, Myst.  :(
Title: Re: Embedding sound
Post by: Rik on Dec 19, 2008, 16:31:51
I had a feeling that might be the case after I'd typed my response. I wonder if that's the only way to embed, I've never seen anything in the ACP.
Title: Re: Embedding sound
Post by: Simon on Dec 19, 2008, 16:36:00
TBH, I wouldn't consider it a particularly popular 'feature'.  I don't know what sort of forums Myst is involved with, but if we were blasted with sound every time we logged in here, for example, I'm sure people would soon turn (and indeed, bugger) off.  ;)
Title: Re: Embedding sound
Post by: Rik on Dec 19, 2008, 16:45:01
I've turned off viewing sigs on Pals for just that reason.
Title: Re: Embedding sound
Post by: Inactive on Dec 19, 2008, 16:53:18
Shame we can't do that on here Rik, could get rid of all of that Christmas clutter.  ;D :out: :duck: :duck:
Title: Re: Embedding sound
Post by: Rik on Dec 19, 2008, 16:57:17
You can, In. Profile > Look and layout preferences > check "don't show users' sigs". ;)
Title: Re: Embedding sound
Post by: Myst on Dec 19, 2008, 17:05:42
No worries, as to the forums which is within a tiny portal front end - they are our gaming forums and only about 30 peeps or so and they are used to my madness as this time - www.thornsqd.co.uk

the code used to be along the lines of
<embed src = bla bla bla bla /src.

Google brings up html code that i've tried and also converted that into php but still no avail

i used to have them when we used php nuke as the cms and they were quite straight forward.
I'll keep looking though.

Thanks
Title: Re: Embedding sound
Post by: Inactive on Dec 19, 2008, 17:07:02
Quote from: Rik on Dec 19, 2008, 16:57:17
You can, In. Profile > Look and layout preferences > check "don't show users' sigs". ;)

Thanks Rik, I was only joking..  ;D
Title: Re: Embedding sound
Post by: Rik on Dec 19, 2008, 17:11:33
I know, but I thought people might like to know anyway. :)
Title: Re: Embedding sound
Post by: Simon on Dec 19, 2008, 21:37:22
Do you not like Slade then, Rik?   :whistle:
Title: Re: Embedding sound
Post by: Rik on Dec 20, 2008, 09:22:22
It was OK as a college, but I went to LCP myself. ;D