Open Jmilham21 opened 1 month ago
What needs to be implemented Expose:
onCaptionsChanged
onCaptionsList
getCurrentCaptions
How should it be implemented
Acceptance Criteria
index.js
index.d.ts
Example
README.md
Additional context If there are any other captions events or helper functions you see, feel free to implement.
It'd be worth considering the onCaptionText event as well. This is helpful for those who want to render captions outside of the player.
onCaptionText
What needs to be implemented Expose:
onCaptionsChanged
/onCaptionsList
(Android), and jwplayer(_:captionTrackChanged:) / jwplayer(_:updatedCaptionList:) (iOS) need to be exposed in JS.getCurrentCaptions
function (Android) / currentCaptionsTrack property (iOS).How should it be implemented
Acceptance Criteria
index.js
andindex.d.ts
getCurrentCaptions
in JS / NativeExample
app OR inREADME.md
Additional context If there are any other captions events or helper functions you see, feel free to implement.