videojs-ass icon indicating copy to clipboard operation
videojs-ass copied to clipboard

When playing preroll ads, sometimes the text appears very small

Open DoomTay opened this issue 6 years ago • 0 comments

Sample set

This happens with a simple implementation of videojs-contrib-ads (heisenbug.html) and with videojs-vast-vpaid (heisenbug2.html), though the latter case is much, much rarer.

This happens the most when the video doesn't autoplay, but bizarrely, adding a new subtitle track somehow fixes it.

I brought this up in the libjass repository and the main project leader had this to say

videojs-ass is starting the clock before calling resize, thus WebRenderer.preRender is getting called before its scaleX and scaleY properties have been initialized. videojs-ass needs to fix this.

DoomTay avatar May 30 '18 20:05 DoomTay