getCurrentCaptions: Returns index of current caption.
onCaptionsChanged: Fires when the caption track has changed. Returns index of current caption.
onCaptionsList: Fires when the caption tracks become available. Returns current index of caption in use. -1 if no caption is being used. Also returns an array of captions.
Why is this Pull Request needed?
Provides developer greater visibility/control of the Captions feature.
Are there any points in the code the reviewer needs to double check?
No
Are there any Pull Requests open in other repos which need to be merged with this?
What does this Pull Request do?
Adds (3)three additional captions events:
Why is this Pull Request needed?
Provides developer greater visibility/control of the Captions feature.
Are there any points in the code the reviewer needs to double check?
No
Are there any Pull Requests open in other repos which need to be merged with this?
No
Addresses Issue(s):
GitHub Issue