summaryrefslogtreecommitdiff
path: root/data/extensions/html5-video-everywhere@lejenome.me/test/test.html
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@gnu.org>2015-10-10 11:26:33 -0500
committerRuben Rodriguez <ruben@gnu.org>2015-10-12 23:20:55 -0500
commit3bd364a1a8dee1316bd5c432229d83a30822927b (patch)
tree692784ee28f1ecb741addf5106b3e733ec67a3f1 /data/extensions/html5-video-everywhere@lejenome.me/test/test.html
parentee08985f3bbf56ad8fda61c7370b6b37e1bbbe16 (diff)
HTML5 Video Everywhere updated to 0.3.3
Diffstat (limited to 'data/extensions/html5-video-everywhere@lejenome.me/test/test.html')
-rw-r--r--data/extensions/html5-video-everywhere@lejenome.me/test/test.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/data/extensions/html5-video-everywhere@lejenome.me/test/test.html b/data/extensions/html5-video-everywhere@lejenome.me/test/test.html
new file mode 100644
index 0000000..4480a41
--- /dev/null
+++ b/data/extensions/html5-video-everywhere@lejenome.me/test/test.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>HTML5 Video EveryWhere Manual Test</title>
+ <script>
+ document.addEventListener("DOMContentLoaded", function() {
+ document.getElementById("testUrls").onclick = function(e) {
+ if(e.currentTarget !== e.target && e.target.dataset.url){
+ document.getElementById("testFrame").src = e.target.dataset.url;
+ e.target.style.backgroundColor = "green";
+ }
+ };
+ });
+ </script>
+ <style>
+ body {height: 100%; width: 100%}
+ #testUrls a { border: black solid 1px; margin: 2px;}
+ #testFrame {width: 100%; min-height: 400px}
+ </style>
+</head>
+<body>
+ <div id="testUrls">
+ <a data-url="https://youtube.com/watch?v=ltun92DfnPY&amp;list=FLem-lx9iHZGg5LOrNPJ9Peg&amp;index=3">YT /watch</a>
+ <a data-url="https://youtube.com/embed/2sTt-51iS_I">YT /embed</a>
+ <a data-url="https://youtube.com/user/WatchMojo">YT /user</a>
+ <a data-url="https://facebook.com/video.php?v=10153178235822275">FB /video</a>
+ <a data-url="https://vimeo.com/channels/documentaryfilm">Vimeo /channel</a>
+ <a data-url="https://vimeo.com/channels/staffpicks/117128919">Vimeo /channel/X/Y</a>
+ <a data-url="https://vimeo.com/groups/filmschool/videos/100175238">Vimeo /groups/X/videos/Y</a>
+ <a data-url="https://vimeo.com/86877247">Vimeo /VIDEO</a>
+ <a data-url="https://vimeo.com/focuspulling">Vimeo /USER</a>
+ <a data-url="https://metacafe.com/watch/11371672/everything_wrong_with_underworld_evolution/">metacafe /watch/X/Y</a>
+ <a data-url="https://metacafe.com/watch/cb-lJ6KDvO07Aab/marcus_smart_shoves_a_texas_tech_fan/">metacafe /watch/X/Y</a>
+ <a data-url="https://dailymotion.com/embed/video/x2eqonv_impossible-sellotape_tech">dailymotion /embed/video</a>
+ <a data-url="https://break.com/embed/2810311">Break /embed</a>
+ </div>
+ <iframe id="testFrame">
+ </iframe>
+
+</body>
+</html>