25 lines
1.1 KiB
XML
25 lines
1.1 KiB
XML
|
<svg version="1.2" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg"
|
||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
|
width="100%" height="100%" viewBox="0 0 400 300">
|
||
|
<desc>Example of switching on the http://www.w3.org/TR/SVG12/feature#TransformedVideo feature string</desc>
|
||
|
<switch>
|
||
|
|
||
|
<!-- Transformed video group -->
|
||
|
<g requiredFeatures="http://www.w3.org/TR/SVG12/feature#TransformedVideo"
|
||
|
transform="translate(-21,-34) scale(1.24) rotate(-30)">
|
||
|
<rect x="6" y="166" width="184" height="140" fill="none" stroke="blue"
|
||
|
stroke-width="4" />
|
||
|
<video xlink:href="ski.avi" audio-level=".8" type="video/x-msvideo"
|
||
|
x="10" y="170" width="176" height="132"/>
|
||
|
</g>
|
||
|
|
||
|
<!-- Untransformed video group -->
|
||
|
<g>
|
||
|
<rect x="6" y="166" width="184" height="140" fill="none" stroke="blue"
|
||
|
stroke-width="4"/>
|
||
|
<video xlink:href="ski.avi" audio-level=".8" type="video/x-msvideo"
|
||
|
x="10" y="170"/>
|
||
|
</g>
|
||
|
</switch>
|
||
|
</svg>
|