Closed elynema closed 3 weeks ago
Could be a CSS change; VideoJS also has options that could be used for this purpose. JS-based approach could be better across platforms.
This seems to be working properly on Safari and Chrome on desktop.
For mobile devices, the progress bar and widget bar are never hidden because tapping screen to bring them back up pauses the video. Android seems to be working properly with captions displaying above the progress bar. Noting that because the progress bar is always there, this does place them fairly high on the video itself.
On iPad, sometimes the bottom of the captions is brushing up against the progress bar. This is not a blocker for 8.0.
In fullscreen playback on the iPad (not the native player), the captions are huge again. This is not happening on full-screen playback on Android. This would be good to look at for 8.0:
Created https://github.com/samvera-labs/ramp/issues/727 for issue with large caption text size on iPad.
Describe the bug With the new multi-line progress bar + video.js widget display, multi-line captions are overlapping the progress bar. The captions should not overlap the progress bar.
To Reproduce Steps to reproduce the behavior:
Expected behavior The captions should display above the progress bar. Note: LinkedIn Learning uses video.js as well, and they have the captions move up (when the progress bar / widgets are visible) and down (when the progress bar and widgets disappear). This would be a cool solution.
This has not been tested on mobile devices, so not sure if it will work differently there.
Screenshots Current display in Avalon:
https://github.com/user-attachments/assets/7d4e3c11-a1f5-4922-a0a1-7300ba7c8842
LinkedIn example:
https://github.com/user-attachments/assets/624056a5-89d8-4edc-ac16-086580230006
Desktop (please complete the following information):
QA