Skip to content

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

css hack for videojs that hides a duplicate video element

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