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
Reintroduce subtitles file and use in looping video #14624 (#14786)
* Use subtitles file and use in looping video
* WIP - Trying to change the line cues are rendered on
* Update hardcoded assets for testing m3u8, mp4 and vtt. This needs to be removed before merge
* Remove background colour as this does not affect the existing cue box drawn by the browser. It instead draws another box around the cue box which is not desired.
* Require CORS without credentials using "anonymous". This ensure the subtitles are available to JS on all browsers.
* Measure the height of the video and set the absolute positioning of the cues by % off of that.
* Remove background colour palette for subtitles as the background colour cannot currently be modified whilst we only support the browser subtitle implementation.
* Remove hardcoded testing properties
* Reduce space from bottom to 12px on browser cues
* Alias vidRef.current to video for easier parsing
* Remove height protection as we should always be able to retrieve getBoundingClientRect
* Add comment to support future development of the loop video player
* Temporarily remove looping video stories to unblock PR.
* fix linting
---------
Co-authored-by: Dominik Lander <[email protected]>
0 commit comments