mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 05:26:15 -08:00
feat: Add support for video chapters in artplayer-plugin-chapter
This commit is contained in:
1 parent
502865ef65
commit
eef1d675df
8 files changed
+98
-2
No files matched your search
@@ -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({
|
||||
//
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in new issue
Block a user