📜 ⬆️ ⬇️

Demonstration of Ogg Theora video in SVG

Chris Double, dealing with HTML5 tag support for <video> for Mozilla Firefox , published a great demo using Theora video files as live textures in the SVG file ( I already wrote about the HTML5 <video> tag ).

You can move, rotate and resize these objects. Vyklyadit really impressive! Be sure to watch the video , do it right now;). via theora.org

Theora in svg


')
For this video, Chris Double modified the file from Vladimir Vukićević . Photos.svg is a simple interpretation of the demo video for Silverlight (Moonlight) technology:

Damo Silverlight



I opened Photos.svg in Mozilla Firefox 2.0.0.6 and a test build about which I will write later ... as well as in Opera 9.23, 9.5. In the experimental build of Opera 9.1 ( with Theora support ), the SVG file did not work.

The ability to work with video has been added to a new SVG file using <foreignObject>:
<foreignObject>
<div xmlns = "http://www.w3.org/1999/xhtml">
<video src = "myvideo.ogg" />
</ div>
</ foreignObject>
The audio track is included only for an object with a large z-index.

The SVG file is viewed using the Mozilla Firefox test build. Available here for Windows, Linux, Mac OS X 10.4. Much has been implemented in this assembly from the draft specification of the html5 <video> tag. The video.svg file is not yet available, but Chris Double promised to upload it, but for now (a list of sites), watch Ogg Thera’s online video using the advanced Mozilla Firefox build or the experimental Opera 9.1 build (out of date) . Wikimedia.org has already chosen Ogg Thera as the main standard.

Source: https://habr.com/ru/post/14022/


All Articles