eric.carlson@apple.com | 8cb301d | 2009-11-12 20:23:15 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 4 | <title>not in document <video> element fullscreen test</title> |
| 5 | |
mihaip@chromium.org | 9d9ccc1 | 2011-02-24 23:10:46 +0000 | [diff] [blame] | 6 | <script src=video-test.js></script> |
eric.carlson@apple.com | 8cb301d | 2009-11-12 20:23:15 +0000 | [diff] [blame] | 7 | <script src=media-fullscreen.js></script> |
| 8 | <script> |
| 9 | var movieInfo = |
| 10 | { |
| 11 | current : -1, |
| 12 | movies : |
| 13 | [ |
| 14 | { |
| 15 | url : "content/counting.mp4", |
| 16 | description : "because it has video", |
| 17 | supportsFS : true, |
| 18 | inline : false, |
| 19 | type : 'video', |
| 20 | }, |
| 21 | { |
| 22 | url : "content/silence.mpg", |
| 23 | description : "", |
| 24 | supportsFS : false, |
| 25 | inline : false, |
| 26 | type : 'audio', |
| 27 | }, |
| 28 | ] |
| 29 | }; |
| 30 | </script> |
| 31 | </head> |
| 32 | |
| 33 | <body onload="openNextMovie()"> |
| 34 | |
| 35 | <p>Test media element fullscreen API when an element is not in the DOM.</p> |
| 36 | |
| 37 | <div id='parent'> |
| 38 | </div> |
| 39 | <br> |
| 40 | <input type="button" id="button" value="Enter Fullscreen" onmouseup="buttonClickHandler()"> |
| 41 | |
| 42 | </body> |
| 43 | </html> |