Hi, Tony-

Probably the best compromise would be to include both the proprietary and
the standard (but not-quite-here) versions, and use a switch to select
between the 2:

<svg width='100%' height='100%' version='1.2'
     xmlns='http://www.w3.org/2000/svg'
     xmlns:xlink='http://www.w3.org/1999/xlink'
     xmlns:asv3='http://www.adobe.com/svg10-extensions'
     asv3:timeline='independent'>

   <switch>
      <g requiredFeatures='http://www.w3.org/TR/SVG12/feature#Audio'>
         <audio xlink:href='sealab.mp3' volume='7' type='audio/mp3'
            begin='mybutton.mouseover' end='mybutton.mouseout'
repeatCount='indefinite'/>
      </g>
      <g requiredExtensions='http://www.adobe.com/svg10-extensions'>
         <asv3:audio xlink:href='sealab.mp3' begin='mybutton.mouseover'
end='mybutton.mouseout' repeatCount='indefinite' />
      </g>

   </switch>

   <g id='mybutton'>
      <rect width='230' height='50' x='20' y='20' rx='10'
         style='fill:cornflowerblue; stroke:#000080; stroke-width:5'/>
      <text x='135' y='55'
         style='fill:#000080; text-anchor:middle; pointer-events:none;
font-size:30;'>
         Where Are You?
      </text>
   </g>

  <rect x='0' y='0' width='270' height='90' style='fill:none;
stroke:#777;'/>

</svg>
 
http://www.svg-whiz.com/audio/audioSwitch.svg


Regards-
Doug Schepers

doug . schepers  @ vectoreal.com
www.vectoreal.com

Philippe Lhoste wrote:
| 
| 
| techitoutuk wrote:
| > How can you put audio clips on SVG?
| > 
| > Tony Bell
| 
| Theoritically, you have to wait for SVG 1.2, as Chris answered.
| (Well, ASV6 may already implement this part.)
| 
| Now, you can do it with ASV3 too, but it is a specific Adobe 
| extension, ie. it is not portable to other viewers.
| 
| http://www.protocol7.com/svg-wiki/index.php/FullTextSearch?s=a%3Aaudio
| 
| --
| Philippe Lhoste



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to