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

Include method to get html track elements from the list #3776

Merged
merged 1 commit into from
Nov 14, 2016

Conversation

ldayananda
Copy link
Contributor

@ldayananda ldayananda commented Nov 12, 2016

Description

When accessing a HtmlTrackElementList, you cannot access them using indices like with TrackList.

Previously trying to access a remoteTextTrack by player.remoteTextTrackEls()[0], resulted in an error this.player.remoteTextTrackEls(...)[0] is undefined.

Specific Changes proposed

I have added code similar to that in TrackList to allow accessing html track elements.

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Unit Tests updated or fixed
  • Reviewed by Two Core Contributors

@gkatsev gkatsev merged commit 430be94 into videojs:master Nov 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants