hide extra videojs video elements that dont have a src to address #165
This commit is contained in:
@@ -14,7 +14,9 @@ video.video-js {
|
|||||||
videojs hack!!
|
videojs hack!!
|
||||||
for some reason, there are cases where a <video class="vjs-tech"> element gets embedded twice.
|
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.
|
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;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user