EDIT: Re: [theora] Theora in SVG+JavaScript?

S. A. Allen manager at atshop3d.com
Sat Jan 27 23:59:32 PST 2007


So far, the only metadata that has been able to be embedded in SVG are
image formats - PNG, JPG, and GIF (although I stay away from GIF like the
plague). Other image formats like WMF or TIFF can be embedded but output
would be at the mercy of the SVG viewer. I've tried many methods to get
some audio working in SVG but no go so far. The only way--as far as I
know--to get anything video-like in SVG is to use a series of PNG/JPG
images and display them in sequence - it's just a shame that audio
wouldn't be there.

*EDIT - due to 1yr old son running around and making me laugh <insert  
laugh here> forgot to mention audio is possible, but mainly with Adobe's  
SVG player or other methods which are non-standard - not good.

Most open-source browsers are able to read SVG with ease, and Opera
aswell. Internet Explorer has limited ability to read SVG, although that
is with IE7. There is an Adobe SVG plugin available to overcome this, but
Adobe will be dropping support for this in Janurary 2008 -

On a side note, if embedding a video in SVG is possible, being an XML
based file format allows only ASCII characters, which means a binary file
to would need to be converted to Base64 encoding, and that would make the
file around 4 times its normal size. The only way around this is to find a
standard way of compressing the file such as "filename.svg.gz" or
"filename.sgv.zip" or... I'm sure you get the idea.

*EDIT - same reason as the first edit - there is filename.svgz but some  
players are unable to read this format, and most of the time svgz is also  
used when non-standard SVG is contained inside.

I've been using SVG for some time now and the only way for things to
advance in SVG is to make an open-source SVG plugin that supports Theora,
but I'd try as much as possible to stick with W3C standards which, at the
moment, only outputs text, vector shapes and raster images.


On Sun, 28 Jan 2007 07:03:34 +1000, Rayne Van-Dunem
<raynenamibia at gmail.com> wrote:

> Hi, I was just reading on Adobe
> Flash<http://en.wikipedia.org/wiki/Adobe_Flash>and the components
> which make it up: SWF, ActionScript, and FLV.
>> From what I've read, SVG is competing with SWF as the format of vector
> graphics in web design, while ActionScript is an ECMAScript like  
> JavaScript.
> Hence, SVG + Javascript can provide an interactive, animated, open,
> non-proprietary web design paradigm.
> However, FLV, in the way that it is usually applied, doesn't have an
> equivalent. It is a video container format that is technically playable  
> on
> its own, but is usually (that is, in the case of Youtube), embedded in an
> SWF+ActionScript file, which is then embedded in an HTML page.
> So I've read about Flumotion's Cortado, which embeds Theora streams into  
> web
> pages via a Java applet.
> However, would it be possible for Theora to be embedded into  
> SVG+JavaScript,
> then embedded into a web page?
> I know that Microsoft is doing the same with their WPF/E thing  
> (Expression
> vector format+JScript .NET+WMV), so I'm just wondering if the same could  
> be
> done with Theora.
> Thanks.

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

More information about the theora mailing list