-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Request to expose text track cues #796
Comments
Makes sense to me. I'll tentatively schedule it for v2.2, but it is lower priority than bug fixes and HLS work. We will try to come up with a design first, publish a design doc, then implement. |
This change creates a lib/text directory and moves all files with text-related logic to it. It also lays the ground for separating text parsing and display logic. (That change will introduce even more files with text-related logic which will crowd lib/media directory). Issue #796. Change-Id: I65ac134020a0126ff02a8f2067beb73870232e65
In #886, @hghazzi asks to know which Player instance cues came from. I've marked that as a duplicate and I'm adding a requirement here that there should be some way to know which Player instance is associated with the display instance. If the text display factory is configurable per-player (as opposed to some global registration), this requirement could be met by the application itself. This is a very lazy example of what I mean, and does not reflect the final interface being designed by @ismena: player.configure({
textDisplayFactory: function() {
return new MyCustomTextDisplay(player);
}
}); Then, any call the Player makes to |
@joeyparrish We would like to collaborate with your team to develop the new implementation of the text tracks plugin. Not sure when the timeline for 2.2.0 is, but we would really like to help out and get it in there since our current workaround does not work well when we have multiple players on a page. |
@hghazzi Sorry for the delay, I'm working on this as I write this (l literally have the CL on my other monitor this second :)). |
Awesome! Can you add me as a reviewer or let me know when a PR is up? Would love to take a look. |
Unfortunately we can't add external reviewers to the team's code reviews, but I'll make sure to let you know as soon as it's out. |
@hghazzi Just checked this in! We'll be writing an upgrade guide with more information on the new parsing/displaying logic, but please feel free to take a look at the commit and let me know if you have any question in the meantime. Basically it's what Joey said it would be in the comment above :) |
@ismena So this change is in master now? Is there a timeline for v2.2.0? |
Yes! We also have an upgrade guide which (hopefully) explains how to use it: https://github.com/google/shaka-player/blob/master/docs/tutorials/upgrade-v2-1.md For v2.2 I was about to say we only had one issue left, so probably early next week, but then I saw that @joeyparrish scheduled a few more, so I'm going to point a finger at him to give the new timeline :P |
@joeyparrish Do you have an updated timeline for |
@hghazzi, we have now closed all the issues we had planned for v2.2.0. Once we take some extra time for QA, we will release v2.2.0. Thanks! |
This is a enhancement request for exposing a text track cues. The purpose of this request is to allow for custom text track display.
The text was updated successfully, but these errors were encountered: