Captions appearing too far to the left on first instantiation, corrects after browser resize
Created by: Suges
Environment
-
The MPD passes the DASH-IF Conformance Tool on https://conformance.dashif.org/ -
The stream has correct Access-Control-Allow-Origin headers (CORS) -
There are no network errors such as 404s in the browser console when trying to play the stream -
The issue observed is not mentioned on https://github.com/Dash-Industry-Forum/dash.js/wiki/FAQ -
The issue occurs in the latest reference client on http://reference.dashif.org/dash.js/ and not just on my page
- Dash.js version: 3.2.1
- Browser name/version: Chrome 89.0.4389.90
- OS name/version: macOS 10.15
We have the Dash client (unmodified) integrated into our site. This behaviour only started when we upgraded to 3.2.1.
It's strictly a visual bug.
What happens is when our site is first loaded and we first load a video to play, the TTML div shows captions squished against the left edge of the video (this is new, seemingly incorrect behaviour). All you have to do is resize the browser's window itself--even by a pixel in any direction--and the TTML div "snaps" to where it's supposed to be. From that point it stays in the correct position no matter how many new videos you load. The problem will open happen again if you close our site and reload it.
Thanks!