css hack for videojs that hides a duplicate video element
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user