From de72e4bbb015a9c0c329f870e0ff4d0ca1b2c241 Mon Sep 17 00:00:00 2001 From: yomguy Date: Mon, 23 Jul 2012 01:22:08 +0200 Subject: [PATCH] add / update video.js --- teleforma/static/teleforma/css/video-js.css | 499 ++ .../static/teleforma/css/video-js.min.css | 1 + teleforma/static/teleforma/js/video.js | 4401 +++++++++++++++++ teleforma/static/teleforma/js/video.min.js | 21 + .../templates/teleforma/course_media.html | 4 +- 5 files changed, 4924 insertions(+), 2 deletions(-) create mode 100644 teleforma/static/teleforma/css/video-js.css create mode 100644 teleforma/static/teleforma/css/video-js.min.css create mode 100644 teleforma/static/teleforma/js/video.js create mode 100644 teleforma/static/teleforma/js/video.min.js diff --git a/teleforma/static/teleforma/css/video-js.css b/teleforma/static/teleforma/css/video-js.css new file mode 100644 index 00000000..cd468eb0 --- /dev/null +++ b/teleforma/static/teleforma/css/video-js.css @@ -0,0 +1,499 @@ +/* +VideoJS Default Styles (http://videojs.com) +Version GENERATED_AT_BUILD +*/ + +/* +REQUIRED STYLES (be careful overriding) +================================================================================ */ +/* When loading the player, the video tag is replaced with a DIV, + that will hold the video tag or object tag for other playback methods. + The div contains the video playback element (Flash or HTML5) and controls, and sets the width and height of the video. + + ** If you want to add some kind of border/padding (e.g. a frame), or special positioning, use another containing element. + Otherwise you risk messing up control positioning and full window mode. ** +*/ +.video-js { + background-color: #000; position: relative; padding: 0; + + /* Start with 10px for base font size so other dimensions can be em based and easily calculable. */ + font-size: 10px; + + /* Allow poster to be vertially aligned. */ + vertical-align: middle; + /* display: table-cell; */ /*This works in Safari but not Firefox.*/ +} + +/* Playback technology elements expand to the width/height of the containing div.