0
|
1 |
<svg version="1.2" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg"
|
|
2 |
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
3 |
width="100%" height="100%" viewBox="0 0 400 300">
|
|
4 |
<desc>Example of switching on the http://www.w3.org/TR/SVG12/feature#TransformedVideo feature string</desc>
|
|
5 |
<switch>
|
|
6 |
|
|
7 |
<!-- Transformed video group -->
|
|
8 |
<g requiredFeatures="http://www.w3.org/TR/SVG12/feature#TransformedVideo"
|
|
9 |
transform="translate(-21,-34) scale(1.24) rotate(-30)">
|
|
10 |
<rect x="6" y="166" width="184" height="140" fill="none" stroke="blue"
|
|
11 |
stroke-width="4" />
|
|
12 |
<video xlink:href="ski.avi" audio-level=".8" type="video/x-msvideo"
|
|
13 |
x="10" y="170" width="176" height="132"/>
|
|
14 |
</g>
|
|
15 |
|
|
16 |
<!-- Untransformed video group -->
|
|
17 |
<g>
|
|
18 |
<rect x="6" y="166" width="184" height="140" fill="none" stroke="blue"
|
|
19 |
stroke-width="4"/>
|
|
20 |
<video xlink:href="ski.avi" audio-level=".8" type="video/x-msvideo"
|
|
21 |
x="10" y="170"/>
|
|
22 |
</g>
|
|
23 |
</switch>
|
|
24 |
</svg>
|