diff options
| author | czaks <marcin@6irc.net> | 2014-04-06 21:39:33 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-04-06 21:39:33 +0200 |
| commit | 97792ff38732274e906071e72902db3b83df9f61 (patch) | |
| tree | 32095682b0bafbb326a8cad6b03390b8b238eb5e /containerchan | |
| parent | e99c638e260a4e3f883a16c7e53b41cbfb542691 (diff) | |
more work on containerchan
Diffstat (limited to 'containerchan')
| -rw-r--r-- | containerchan/collapse.gif | bin | 67 -> 0 bytes | |||
| -rw-r--r-- | containerchan/playersettings.js | 28 | ||||
| -rw-r--r-- | containerchan/playerstyle.css | 39 |
3 files changed, 0 insertions, 67 deletions
diff --git a/containerchan/collapse.gif b/containerchan/collapse.gif Binary files differdeleted file mode 100644 index cda6b337..00000000 --- a/containerchan/collapse.gif +++ /dev/null diff --git a/containerchan/playersettings.js b/containerchan/playersettings.js deleted file mode 100644 index 861d27c2..00000000 --- a/containerchan/playersettings.js +++ /dev/null @@ -1,28 +0,0 @@ -/* This file is dedicated to the public domain; you may do as you wish with it. */ -if (window.addEventListener) window.addEventListener("load", function(e) { - document.getElementById("playerheader").appendChild(settingsMenu); - - var video = document.getElementsByTagName("video")[0]; - - var loopLinks = [document.getElementById("loop0"), document.getElementById("loop1")]; - function setupLoopLink(i) { - loopLinks[i].addEventListener("click", function(e) { - if (!e.shiftKey && !e.ctrlKey && !e.altKey && !e.metaKey) { - video.loop = (i != 0); - if (i != 0 && video.currentTime >= video.duration) { - video.currentTime = 0; - } - loopLinks[i].style.fontWeight = "bold"; - loopLinks[1-i].style.fontWeight = "inherit"; - e.preventDefault(); - } - }, false); - } - for (var i = 0; i < 2; i++) { - setupLoopLink(i); - } - - video.muted = (setting("videovolume") == 0); - video.volume = setting("videovolume"); - video.play(); -}, false); diff --git a/containerchan/playerstyle.css b/containerchan/playerstyle.css deleted file mode 100644 index b78b67ef..00000000 --- a/containerchan/playerstyle.css +++ /dev/null @@ -1,39 +0,0 @@ -/* This file is dedicated to the public domain; you may do as you wish with it. */ -body { - background: black; - color: white; - margin: 0px; -} -#playerheader { - position: absolute; - left: 0px; - right: 0px; - top: 0px; - height: 24px; - padding: 0px 4px; - text-align: right; - font-size: 16px; -} -#playerheader a { - color: white; - text-decoration: none; -} -span.settings div { - background: black; - z-index: 1; - padding-right: 4px; -} -#playercontent { - position: absolute; - left: 0px; - right: 0px; - top: 24px; - bottom: 0px; -} -video { - display: block; - margin-left: auto; - margin-right: auto; - max-width: 100%; - max-height: 100%; -} |
