-
Notifications
You must be signed in to change notification settings - Fork 44
feat: Regions #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: Regions #50
Conversation
This simplifies a lot of things for region cues. It probably don't need to keep track of box positions for them but we also don't need to do the moveBoxToLinePosition as they will get positioned as part of the regular flow of things.
|
This PR implements region support. It stays within the framework of the current API, which makes it a bit annoying. I think processCues probably needs a refactor for how it accepts arguments so that more changes can be made to it. |
|
This still needs a couple of changes, making sure that if scroll:up isn't set, it doesn't scroll but just pops. also, verifying that regular captions are still working fine. |
They were previously moved to a single block but they didn't get added to the correct elements and thus the cues weren't positioned appropriately.
|
A better API can wait for a complete overhaul. |
|
This is a breaking change since it requires not clearing the display each tick like Video.js has been doing previously. |
TODO
better api?