Chapters
pluginWebVTT chapters with seek-bar markers and a live chapter list.
ChaptersLoading chapters…
The code
tsximport { chapters } from '@tomato-player/plugin-chapters';const player = createPlayer('#player', {src: 'movie.mp4',skin: learn(),plugins: [chapters({ chapters: '/chapters.vtt' })],});player.on('plugin:chapterchange', (chapter) => highlight(chapter.title));const list = player.plugin('chapters').list();