Thanks Doug, Is there no way to play audio in SVG Tiny 1.1 instead of 1.2 ? I know SVG Tiny 1.2 has the audio tag but isn't there any way to play audio in SVG Tiny 1.1
- Raks On Mon, Aug 23, 2010 at 10:00 PM, Doug Schepers <[email protected]> wrote: > > > Hi, folks- > > Juca, you silly Inkscape developer, SVG Tiny 1.2 is for mobiles, and it > has <audio> and <video> elements. > > Raks, you may be able to use a data URI as the href attribute value of > the <audio> element in SVG Tiny 1.2; it depends on the implementation. > While SVG doesn't explicitly mention it, it is perfectly valid; data > URIs are spelled out in RFC-2397. > > Here's an example of it [1], using an HTML <audio> element in an SVG, > but the principle is the same... just use the data URI in the SVG > <audio> element instead (don't forget to use the SVG syntax instead of > the HTML syntax, in your case. > > [1] http://schepers.cc/svg/multimedia/audio-datauri.svg > > Regards- > -Doug > > Felipe Sanches wrote (on 8/23/10 10:44 AM): > > > oh... > > I believe that the only way to do it in a standards compliant way is > using > > html5 audio. > > > > Non-standards-compliant ways include using dirty-Flash :-P > > > > On Mon, Aug 23, 2010 at 11:31 AM, Raks > > A<[email protected]<rakssvg%40gmail.com>> > wrote: > > > >> > >> > >> Thanks but I do not have the option of using HTML5 as I want to do this > in > >> mobiles which do not support HTML5 > >> > >> On Mon, Aug 23, 2010 at 7:26 PM, Felipe Sanches< > [email protected] <felipe.sanches%40gmail.com><felipe.sanches% > 40gmail.com> > >> >wrote: > >> > >> > >> > you can checkout this directory from my svn: > >> > > >> > > >> > http://code.google.com/p/felipesanches/source/browse/#svn/trunk/SVG/minigames/TuxVsMSNbug > >> > > >> > it contains a demo of using SVG with base64 encoded audio created > using > >> > html5 audio tag > >> > > >> > Happy Hacking, > >> > Felipe "Juca" Sanches > >> > > >> > On Mon, Aug 23, 2010 at 10:51 AM, Raks > >> > A<[email protected]<rakssvg%40gmail.com> > <rakssvg%40gmail.com>> > >> wrote: > >> > > >> > > > >> > > > >> > > Hi, > >> > > > >> > > Is there a way I can embed the sound effects into a SVG file without > a > >> > http > >> > > link > >> > > something we can do for an image like > >> > > <image xlink:href="data:image/png;base64,/9j/4A..... > >> > > > >> > > Here the bytes for the image are put inside the svg file itself > >> > > > >> > > This way i can have small sound effects as the animation flows > without > >> > the > >> > > browser requring to go to the server again > >> > > > >> > > - Raks > > > , [Non-text portions of this message have been removed] ------------------------------------ ----- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> 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/

