From ab299ba44991e32152cfdca9997ecdad2ab40c5a Mon Sep 17 00:00:00 2001 From: Jef van Schendel Date: Sun, 8 Apr 2012 21:53:17 +0200 Subject: [PATCH] Add MediaGoblin video player skin by chron0 --- mediagoblin/static/css/vjs-mg-skin.css | 415 ++++++++++++++++++ mediagoblin/static/images/video-js.png | Bin 0 -> 4459 bytes .../mediagoblin/media_displays/video.html | 3 +- 3 files changed, 417 insertions(+), 1 deletion(-) create mode 100644 mediagoblin/static/css/vjs-mg-skin.css create mode 100644 mediagoblin/static/images/video-js.png diff --git a/mediagoblin/static/css/vjs-mg-skin.css b/mediagoblin/static/css/vjs-mg-skin.css new file mode 100644 index 00000000..98c4eb95 --- /dev/null +++ b/mediagoblin/static/css/vjs-mg-skin.css @@ -0,0 +1,415 @@ +.video-js { + background-color: #000; position: relative; padding: 0; outline: none; + + /* Start with 10px for base font size so other dimensions can be em based and easily calculable. */ + font-size: 10px; + + width: 650px !important; + height: 366px !important; + + + /* 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.