Closed carlomahfouz closed 4 months ago
function addChaptersToPlayer(playerEl) { playerEl.addChapters(chapters); } <Video onLoadedMetadata={({ target }) => { addChaptersToPlayer(target); }} onChapterChange={({ target }) => { setActiveChapter((target).activeChapter); }} ... />
Target Player is missing addChapters which should exist on mux-player-react or am I missing something?
mux-player-react
this will be available in the latest release, when we get that published :s thanks for reporting!
Works perfectly now! Thanks 😄
Target Player is missing addChapters which should exist on
mux-player-react
or am I missing something?