You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to fix this issue:
Use font relative units. For example in case above it should be margin-top: -3em; (or around this value)
As videojs use em units, most of sizes and offsets is related to base font-size of .video-js. So plugins should use same approach to be responsive. You can inspire with native .vjs-text-track-display overlayer.
The text was updated successfully, but these errors were encountered:
@shawnbuso
Now I also faced issue related to bounds of videojs player. Your overlayer overflows player's top bound.
How to reproduce this issue:
Put two players in column without any gap. Bottom will block control bar of the top player by overlayer of bottom player.
How to fix this issue:
You should either use variable height of this overlayer like .vjs-text-track-display does or if you need preserve fixed height, apply overflow: hidden to entire player like .video-js { overflow: hidden }.
How to reproduce this issue:
change font-size of .video-js and play non-linear ad from Google IMA example tags
Example of problematic code:
How to fix this issue:
Use font relative units. For example in case above it should be
margin-top: -3em;
(or around this value)As videojs use
em
units, most of sizes and offsets is related to base font-size of .video-js. So plugins should use same approach to be responsive. You can inspire with native.vjs-text-track-display
overlayer.The text was updated successfully, but these errors were encountered: