OLD | NEW |
1 <script src="media-file.js"></script> | 1 <script src="media-file.js"></script> |
2 <script src="video-paint-test.js"></script> | 2 <script src="video-paint-test.js"></script> |
3 <body onload="init()"> | 3 <body> |
4 <p>Test controls placement. </p> | 4 <p>Test controls placement. </p> |
5 <div> | 5 <div> |
6 <video controls></video> | 6 <video controls></video> |
7 </div> | 7 </div> |
8 <div> | 8 <div> |
9 <video controls style="width: 320px;"></video> | 9 <video controls style="width: 320px;"></video> |
10 </div> | 10 </div> |
11 <div> | 11 <div> |
12 <video controls style="position: absolute; width: 320px;"></video> | 12 <video controls style="position: absolute; width: 320px;"></video> |
13 </div> | 13 </div> |
14 <script>setSrcByTagName('video', findMediaFile('video', 'content/test'))</script
> | 14 <script> |
| 15 init(); |
| 16 setSrcByTagName('video', findMediaFile('video', 'content/test')); |
| 17 </script> |
15 </body> | 18 </body> |
OLD | NEW |