Author Topic: Delay attribute not working on snd element  (Read 247 times)

PolrBear

  • Newbie
  • *
  • Posts: 3
Delay attribute not working on snd element
« on: January 26, 2012, 02:11:38 am »
On a page I have the following working code for a sound:

Code: [Select]
<snd src='sound.mp3' loop='false' restart='true' fade='0' onlywhenactive='true' />
I want to add a delay, but when I change the code to this:

Code: [Select]
<snd src='sound.mp3' loop='false' restart='true' fade='0' onlywhenactive='true' delay='1000' />
It doesn't play at all.  I've also tried doing a value of '1' instead of 1000.  Any reason why this might be happening?

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Delay attribute not working on snd element
« Reply #1 on: April 15, 2012, 06:07:21 pm »
Nice find. Will be fixed in the next version; as a temporary workaround, set fade something greater zero (1 should do just fine).
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.