0

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

This commit is contained in:
Ginger Wong 2020-09-20 15:49:15 -07:00
parent 0c5e788aa2
commit 91590f95bb

View File

@ -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;
}