Just like any web application, you're referring to the resource file (sealab.mp3) using a IRI reference. If you're just saying xlink:href="sealab.mp3" that means it needs to be in the same directory/path as the SVG file. If you're saying xlink:href="http://somedomain.com/somepath/sealab.mp3" it needs to be at that web location, etc.
Good luck, Jeff --- In svg-developers@yahoogroups.com, Brett Miller <[EMAIL PROTECTED]> wrote: > > Jeff, > > Thanks for your response. > > Yes, I have downloaded the code and I have also > downloaded the sealab.mp3 file. > Do I need to place the mp3 file somewhere in > particular on my pc, or do I need additional code in > the svg program to point to the location of the file. > > Thanks. > > Brett > > > --- Jeff Schiller <[EMAIL PROTECTED]> wrote: > > > Brett, > > > > Until SVG 1.2 begins to be implemented by browsers > > you have one of two > > choices for "audio in SVG": > > > > 1) Use Adobe SVG Viewer's proprietary extensions > > that play audio > > > > 2) Use Opera 9 in which they've implemented the > > WHATWG-proposed HTML5 > > Audio object (non-declarative, script-based) > > > > Firefox native SVG will not be able to play audio > > (though you might > > try to embed something, not sure). > > > > Having said all that, I'm assuming you've copied > > both teh SVG and the > > audio file (i.e. the actual sealab.mp3 file from > > Doug's site to try > > this locally, correct? In that case, I'm not sure > > why you're not able > > to play the file... > > > > Regards, > > Jeff > > > > --- In svg-developers@yahoogroups.com, Brett Miller > > <brettmiller79@> wrote: > > > > > > I'm trying to get audio to work in SVG and have > > had no > > > luck. I looked for examples on the web and have > > found > > > basically what I want. > > > > > > This link will bring you to an audio example - > > > http://svg-whiz.com/svg/multimedia/audioSwitch.svg > > > > > > I'm trying to mimic the svg code from this site, > > but > > > my code still doesn't work. > > > > > > I also tried copying the svg code from the site > > into a > > > text document and saving it was a .svg file. The > > > problem is when I open the file, the graphic > > displays, > > > but the sound doesn't work anymore. > > > > > > Does someone know why it works on that link above, > > but > > > not when I save the document on my pc. > > > > > > I'm very new to svg, so it could just be something > > > simple that I don't understand. > > > > > > Any help will be greatly appreciated. > > > Thanks. > > > > > > Brett > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam > > protection around > > > http://mail.yahoo.com > > > > > > > > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/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/