diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /mobile/android/tests/browser/chrome/video_discovery.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'mobile/android/tests/browser/chrome/video_discovery.html')
-rw-r--r-- | mobile/android/tests/browser/chrome/video_discovery.html | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/mobile/android/tests/browser/chrome/video_discovery.html b/mobile/android/tests/browser/chrome/video_discovery.html new file mode 100644 index 000000000..6eb181dc4 --- /dev/null +++ b/mobile/android/tests/browser/chrome/video_discovery.html @@ -0,0 +1,77 @@ +<!DOCTYPE HTML> +<html> + <head> + <title>Video Discovery Test</title> + <style type="text/css"> + #video-box { + float: left; + } + #video-overlay, #video-player { + width: 640px; + min-height: 370px; + } + #video-overlay { + position: absolute; + float: left; + background-color:#f00; + z-index:10; + } + </style> + </head> + <body> + <!-- PASS: src uses a mp4 extension --> + <video id="simple-mp4" poster="/simple.png" src="/simple.mp4"></video> + + <!-- FAIL: src uses a ogg extension --> + <video id="simple-fail" src="/simple.ogg"></video> + + <!-- PASS: source list uses a mp4 extension --> + <video id="with-sources-mp4"> + <source src="/simple.ogg"> + <source src="/simple.mp4"> + </video> + + <!-- PASS: source list uses a webm extension --> + <video id="with-sources-webm"> + <source src="/simple.ogg"> + <source src="/simple.webm"> + </video> + + <!-- FAIL: source list has no mp4 or webm extension --> + <video id="with-sources-fail"> + <source src="/simple.ogg"> + </video> + + <!-- PASS: source list uses a mp4 mimetype --> + <video id="with-sources-mimetype-mp4"> + <source src="/simple-video-ogg" type="video/ogg"> + <source src="/simple-video-mp4" type="video/mp4"> + </video> + + <!-- PASS: source list uses a webm mimetype --> + <video id="with-sources-mimetype-webm"> + <source src="/simple-video-ogg" type="video/ogg"> + <source src="/simple-video-webm" type="video/webm"> + </video> + + <!-- PASS: source list uses a mp4 mimetype and extra data --> + <video id="with-sources-mimetype-plus"> + <source src="/simple-video-ogg" type="video/ogg"> + <source src="/simple-video-mp4" type="video/mp4; codecs='avc1.42E01E, mp4a.40.2'"> + </video> + + <!-- PASS: src uses a mp4 mimetype from the server --> + <video id="simple-fetch-pass" src="http://mochi.test:8888/chrome/mobile/android/tests/browser/chrome/video_discovery.sjs?type=video/mp4"></video> + + <!-- FAIL: src uses a non-video mimetype from the server --> + <video id="simple-fetch-fail" src="http://mochi.test:8888/chrome/mobile/android/tests/browser/chrome/video_discovery.sjs?type=image/png"></video> + + <!-- PASS: div overlay covers a video with mp4 src --> + <div id="video-box"> + <div id="video-overlay"></div> + <div> + <video id="video-player" src="/simple.mp4"></video> + </div> + </div> + </body> +</html> |