Skip to content
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

Closed
forbesjo opened this issue May 12, 2017 · 12 comments
Closed

Request to expose text track cues #796

forbesjo opened this issue May 12, 2017 · 12 comments
Assignees
Labels
status: archived Archived and locked; will not be updated type: enhancement New feature or request
Milestone

Comments

@forbesjo
Copy link

This is a enhancement request for exposing a text track cues. The purpose of this request is to allow for custom text track display.

@joeyparrish joeyparrish added the type: enhancement New feature or request label May 12, 2017
@joeyparrish joeyparrish added this to the v2.2.0 milestone May 12, 2017
@joeyparrish
Copy link
Member

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.

@ismena ismena self-assigned this May 31, 2017
@joeyparrish joeyparrish modified the milestones: v2.2.0, v2.3.0 Jun 6, 2017
shaka-bot pushed a commit that referenced this issue Jun 6, 2017
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
@joeyparrish
Copy link
Member

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 new config.textDisplayFactory() will create an instance of MyCustomTextDisplay which knows exactly which Player instance it belongs to.

@hussam-i-am
Copy link

@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.

@ismena
Copy link
Contributor

ismena commented Jul 11, 2017

@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 :)).
I'll try to get it into code review this week or early next week and bully the rest of the team to review it ASAP :)

@hussam-i-am
Copy link

Awesome! Can you add me as a reviewer or let me know when a PR is up? Would love to take a look.

@ismena
Copy link
Contributor

ismena commented Jul 11, 2017

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.

@ismena
Copy link
Contributor

ismena commented Jul 17, 2017

@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 :)

@hussam-i-am
Copy link

@ismena So this change is in master now? Is there a timeline for v2.2.0?

@ismena
Copy link
Contributor

ismena commented Jul 26, 2017

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

@hussam-i-am
Copy link

@joeyparrish Do you have an updated timeline for v2.2? And thanks for the upgrade guide, looks like the parser updates will give us what we need to fix our issues!

@joeyparrish
Copy link
Member

@hghazzi, we will be releasing v2.2.0 as soon as #960 is resolved. I estimate that this may take another week or two, but it is difficult to say for certain. Sorry for the long delays.

@joeyparrish
Copy link
Member

@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!

@shaka-project shaka-project locked and limited conversation to collaborators Mar 22, 2018
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants