Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

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

Ginger Wong45dcb97e549c
diff --git a/webroot/styles/video.css b/webroot/styles/video.css
index 7f7c99a50b..ff19dd868f 100644
--- a/webroot/styles/video.css
+++ b/webroot/styles/video.css
@@ -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;
}