W3C home > Mailing lists > Public > www-svg@w3.org > July 2003

Playing a Sound Loop... How?

From: Damien Bezborodow <drbezborodow@webpathways.com>
Date: Sat, 26 Jul 2003 22:45:59 +0930
Message-ID: <001301c35378$0e960700$0700a8c0@DAMO>
To: <www-svg@w3.org>
I am trying to get a feel for SVG. Can you please help me (or point
me to useful documentation or tutorial) for playing a loop with an
on/off button.

I have this code already:

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"

<svg xmlns:a="http://www.adobe.com/svg10-extensions" a:timeline="independent">
  <a:audio xlink:href="hploop.mp3" begin="0s" />
  <circle id="play" cx="25" cy="25" r="10" fill="red"/>

My question is: What attributes must I include to make the sound
loop? I have tried loop="infinite" but it doesn't work. I couldn't find
any documentation from Adobe.Com.

Furthermore, how can I "pause" the loop so to give the impression
it has been muted when you click on the circle?

Thanks for any help or links that anybody provides. A link to a
complete tutorial would be great! Hope I am not posting in the
wrong place.
Received on Saturday, 26 July 2003 09:16:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:56 UTC