Commit 460849a3 by Kyle Fiedler

added fix for html5

parent 4d02f5d6
...@@ -2901,15 +2901,14 @@ section.course-content .dullify, section.course-content div.video-subtitles div. ...@@ -2901,15 +2901,14 @@ section.course-content .dullify, section.course-content div.video-subtitles div.
transition-delay: 0; } transition-delay: 0; }
section.course-content .dullify:hover, section.course-content div.video-subtitles div.video-wrapper section.video-controls ul.vcr:hover, section.course-content div.video-subtitles div.video-wrapper section.video-controls div.secondary-controls:hover { section.course-content .dullify:hover, section.course-content div.video-subtitles div.video-wrapper section.video-controls ul.vcr:hover, section.course-content div.video-subtitles div.video-wrapper section.video-controls div.secondary-controls:hover {
opacity: 1; } opacity: 1; }
section.course-content div.video { section.course-content div.video-subtitles {
zoom: 1;
padding: 6px 22.652px; padding: 6px 22.652px;
margin: 0 -22.652px; margin: 0 -22.652px;
border-top: 1px solid #e1e1e1; border-top: 1px solid #e1e1e1;
border-bottom: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1;
background: #f3f3f3; background: #f3f3f3;
display: block; } display: block; }
section.course-content div.video-subtitles {
zoom: 1; }
section.course-content div.video-subtitles:before, section.course-content div.video-subtitles:after { section.course-content div.video-subtitles:before, section.course-content div.video-subtitles:after {
content: ""; content: "";
display: table; } display: table; }
...@@ -3378,6 +3377,7 @@ section.course-content div.video-subtitles.closed ol.subtitles { ...@@ -3378,6 +3377,7 @@ section.course-content div.video-subtitles.closed ol.subtitles {
section.course-content div.video-subtitles.fullscreen { section.course-content div.video-subtitles.fullscreen {
background: rgba(0, 0, 0, 0.95); background: rgba(0, 0, 0, 0.95);
border: 0; border: 0;
margin: 0;
bottom: 0; bottom: 0;
height: 100%; height: 100%;
left: 0; left: 0;
...@@ -3408,7 +3408,9 @@ section.course-content div.video-subtitles.fullscreen a.exit::after { ...@@ -3408,7 +3408,9 @@ section.course-content div.video-subtitles.fullscreen a.exit::after {
padding-left: 6px; } padding-left: 6px; }
section.course-content div.video-subtitles.fullscreen a.exit:hover { section.course-content div.video-subtitles.fullscreen a.exit:hover {
color: #993333; } color: #993333; }
section.course-content div.video-subtitles.fullscreen div.tc-wrapper object#myytplayer { section.course-content div.video-subtitles.fullscreen div.tc-wrapper div.video-wrapper {
width: 100%; }
section.course-content div.video-subtitles.fullscreen div.tc-wrapper object#myytplayer, section.course-content div.video-subtitles.fullscreen div.tc-wrapper iframe {
height: 100%; height: 100%;
position: fixed; position: fixed;
top: 0; top: 0;
......
...@@ -9,16 +9,16 @@ section.course-content { ...@@ -9,16 +9,16 @@ section.course-content {
} }
div.video { div.video {
}
div.video-subtitles {
@include clearfix();
padding: 6px lh(); padding: 6px lh();
margin: 0 (-(lh())); margin: 0 (-(lh()));
border-top: 1px solid #e1e1e1; border-top: 1px solid #e1e1e1;
border-bottom: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1;
background: #f3f3f3; background: #f3f3f3;
display: block; display: block;
}
div.video-subtitles {
@include clearfix();
div.video-wrapper { div.video-wrapper {
float: left; float: left;
...@@ -395,6 +395,7 @@ section.course-content { ...@@ -395,6 +395,7 @@ section.course-content {
&.fullscreen { &.fullscreen {
background: rgba(#000, .95); background: rgba(#000, .95);
border: 0; border: 0;
margin: 0;
bottom: 0; bottom: 0;
height: 100%; height: 100%;
left: 0; left: 0;
...@@ -427,7 +428,11 @@ section.course-content { ...@@ -427,7 +428,11 @@ section.course-content {
} }
div.tc-wrapper { div.tc-wrapper {
object#myytplayer { div.video-wrapper {
width: 100%;
}
object#myytplayer, iframe {
height: 100%; height: 100%;
position: fixed; position: fixed;
top: 0; top: 0;
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<h1> ${name} </h1> <h1> ${name} </h1>
% endif % endif
<div class="video">
<div class="video-subtitles"> <div class="video-subtitles">
<div class="tc-wrapper"> <div class="tc-wrapper">
...@@ -66,7 +65,6 @@ ...@@ -66,7 +65,6 @@
</div> </div>
</div> </div>
</div>
<%block name="js_extra"> <%block name="js_extra">
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
...@@ -126,7 +124,6 @@ ...@@ -126,7 +124,6 @@
$("div.speeds a").click(function() { $("div.speeds a").click(function() {
return false; return false;
}); });
}); });
</script> </script>
</%block> </%block>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment