Browse Source

hide extra videojs video elements that dont have a src to address #165

pull/171/head
Ginger Wong 5 years ago
parent
commit
91590f95bb
  1. 4
      webroot/styles/video.css

4
webroot/styles/video.css

@ -14,7 +14,9 @@ video.video-js { @@ -14,7 +14,9 @@ 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.
Some context here:
https://github.com/owncast/owncast/issues/165
*/
.vjs-tech:not(:first-child) {
video.vjs-tech:not([src]) {
display: none;
}

Loading…
Cancel
Save