Browse Source

css hack for videojs that hides a duplicate video element

pull/146/head
Ginger Wong 5 years ago
parent
commit
206d57e79e
  1. 8
      webroot/styles/video.css

8
webroot/styles/video.css

@ -10,3 +10,11 @@ video.video-js { @@ -10,3 +10,11 @@ video.video-js {
}
/*
videojs hack!!
for some reason, there are cases where a <video class="vjs-tech"> element gets embedded twice.
we only want the first one. the second obstructs the layout.
*/
.vjs-tech:not(:first-child) {
display: none;
}

Loading…
Cancel
Save