+482
-0
lines changedFilter options
+482
-0
lines changed Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
1
+
// jresig's Class implementation
2
+
(function(){
3
+
var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/;
4
+
this.Class = function(){};
5
+
Class.extend = function(prop) {
6
+
var _super = this.prototype;
7
+
initializing = true;
8
+
var prototype = new this();
9
+
initializing = false;
10
+
for (var name in prop) {
11
+
prototype[name] = typeof prop[name] == "function" &&
12
+
typeof _super[name] == "function" && fnTest.test(prop[name]) ?
13
+
(function(name, fn){
14
+
return function() {
15
+
var tmp = this._super;
16
+
this._super = _super[name];
17
+
var ret = fn.apply(this, arguments);
18
+
this._super = tmp;
19
+
return ret;
20
+
};
21
+
})(name, prop[name]) :
22
+
prop[name];
23
+
}
24
+
function Class() {
25
+
if ( !initializing && this.init )
26
+
this.init.apply(this, arguments);
27
+
}
28
+
Class.prototype = prototype;
29
+
Class.constructor = Class;
30
+
Class.extend = arguments.callee;
31
+
return Class;
32
+
};
33
+
})();
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
1
+
<!DOCTYPE html>
2
+
<html>
3
+
<head>
4
+
<meta charset="utf-8" />
5
+
<title>HTML5 Video Player</title>
6
+
<link rel="stylesheet" href="video-js.css" type="text/css" media="screen" title="Video JS" charset="utf-8">
7
+
<script src="video.js" type="text/javascript" charset="utf-8"></script>
8
+
<script type="text/javascript" charset="utf-8">
9
+
10
+
var bodyLoaded = function(){
11
+
videoPlayer = videoJSPlayers[0] = new VideoJS(document.getElementById("video"), 0);
12
+
}
13
+
14
+
</script>
15
+
</head>
16
+
<body id="body" onload="bodyLoaded();">
17
+
18
+
<div class="video-box">
19
+
<video id="video" class="video-js" width="640" height="360" poster="http://zencoder-demo.s3.amazonaws.com/poster.jpg" autobuffer>
20
+
<source src="http://zencoder-demo.s3.amazonaws.com/trailer_test.mp4" type="video/mp4"></source>
21
+
<source src="http://zencoder-demo.s3.amazonaws.com/trailer_test.ogg" type="video/ogg"></source>
22
+
<p>Sorry, this web browser does not support the video tag. For a video tag/embed code that will fall back to Quicktime and Flash see <a href="http://camendesign.com/code/video_for_everybody">Video for Everybody</a>.<br><br></p>
23
+
</video>
24
+
</div>
25
+
26
+
</body>
27
+
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
1
+
body { background-color: #222; color: #fff; }
2
+
.video-box { text-align: left; position: relative; }
3
+
.video-js { background-color: #000; }
4
+
5
+
/* General controls styles */
6
+
.vjs-controls { display: none; list-style: none; margin: 0; padding: 0; position: absolute; height: 30px; opacity: 0.85; color: #fff; }
7
+
.vjs-controls > li { list-style: none; float: left; height: 25px; width: 25px; margin: 0 5px 0 0; padding: 0; background-color: #001E25; text-align: center; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
8
+
.vjs-controls > li:last-child { margin-right: 0; }
9
+
.vjs-controls > li:first-child { margin-left: 5px; }
10
+
11
+
/* Play/Pause */
12
+
.vjs-play-control span { display: block; font-size: 0px; line-height: 0; text-decoration: none; }
13
+
.vjs-play-control.vjs-play span { width: 0; height: 0; margin: 8px 0 0 8px; border-top: 5px solid #001E25; border-left: 10px solid #fff; border-bottom: 5px solid #001E25; }
14
+
.vjs-play-control.vjs-pause span { width: 3px; height: 10px; margin: 8px auto 0; border-top: 0px; border-left: 3px solid #fff; border-bottom: 0px; border-right: 3px solid #fff; }
15
+
16
+
/* Progress */
17
+
.vjs-progress-control { width: 190px; }
18
+
.vjs-progress-control ul { list-style: none; margin: 0; padding: 0; }
19
+
.vjs-progress-control .vjs-progress-holder { list-style: none; position: relative; float: left; width: 100px; height: 9px; border: 1px solid #777; margin: 7px 0 0 5px; padding: 0; background-color: #001E25; overflow:hidden; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
20
+
.vjs-progress-control .vjs-play-progress { position: absolute; display: block; width: 0px; height: 9px; background-color: #fff; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
21
+
.vjs-progress-control .vjs-load-progress { position: absolute; display: block; width: 0px; height: 9px; background-color: #777; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
22
+
.vjs-progress-control .vjs-progress-time { list-style: none; float: left; margin: 7px 0 0 5px; padding: 0; font-size: 10px; line-height: 1; font-weight: normal; font-family: Helvetica, Arial, sans-serif; }
23
+
24
+
/* Volume */
25
+
.vjs-volume-control { width: 50px !important; }
26
+
.vjs-volume-control ul { display: block; margin: 0; padding: 4px 0 0 5px; list-style: none; }
27
+
.vjs-volume-control ul li { float: left; margin: 0; padding: 0; list-style: none; width: 5px; margin-right: 2px; height: 0px; border-bottom: 18px solid #555; }
28
+
.vjs-volume-control ul li:nth-child(1) { border-bottom-width: 2px; height: 16px; }
29
+
.vjs-volume-control ul li:nth-child(2) { border-bottom-width: 4px; height: 14px; }
30
+
.vjs-volume-control ul li:nth-child(3) { border-bottom-width: 7px; height: 11px; }
31
+
.vjs-volume-control ul li:nth-child(4) { border-bottom-width: 10px; height: 8px; }
32
+
.vjs-volume-control ul li:nth-child(5) { border-bottom-width: 14px; height: 4px; }
33
+
34
+
/* Fullscreen */
35
+
.vjs-fullscreen-control ul { list-style: none; margin: 5px 0 0 5px; padding: 0; width: 20px; height: 20px; text-align: left; vertical-align: top; }
36
+
.vjs-fullscreen-control ul li { list-style: none; float: left; margin: 0; padding: 0; font-size: 0; line-height: 0; width: 0; text-align: left; vertical-align: top; }
37
+
.vjs-fullscreen-control ul li:nth-child(1) { margin: 0 3px 3px 0; border: none; border-top: 6px solid #fff; border-right: 6px solid #001E25; }
38
+
.vjs-fullscreen-control ul li:nth-child(2) { border: none; border-top: 6px solid #fff; border-left: 6px solid #001E25; }
39
+
.vjs-fullscreen-control ul li:nth-child(3) { clear: both; margin: 0 3px 0 0; border: none; border-bottom: 6px solid #fff; border-right: 6px solid #001E25; }
40
+
.vjs-fullscreen-control ul li:nth-child(4) { border: none; border-bottom: 6px solid #fff; border-left: 6px solid #001E25; }
41
+
.vjs-fullscreen-control.vjs-fs-active ul li:nth-child(1) { border: none; border-bottom: 6px solid #fff; border-left: 6px solid #001E25; }
42
+
.vjs-fullscreen-control.vjs-fs-active ul li:nth-child(2) { border: none; border-bottom: 6px solid #fff; border-right: 6px solid #001E25; }
43
+
.vjs-fullscreen-control.vjs-fs-active ul li:nth-child(3) { border: none; border-top: 6px solid #fff; border-left: 6px solid #001E25; }
44
+
.vjs-fullscreen-control.vjs-fs-active ul li:nth-child(4) { border: none; border-top: 6px solid #fff; border-right: 6px solid #001E25; }
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4