feat: Add support for video chapters in artplayer-plugin-chapter

This commit is contained in:
Harvey Zack committed 2024-06-02 13:07:26 +08:00
1 parent 502865ef65
commit eef1d675df
8 files changed
+98 -2

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
// npm i artplayer-plugin-chapter
// import artplayerPluginChapter from 'artplayer-plugin-chapter';
var art = new Artplayer({
container: '.artplayer-app',
url: '/assets/sample/video.mp4',
plugins: [
artplayerPluginChapter({
//
}),
],
});