mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-09 03:46:16 -08:00
12 lines
282 B
JavaScript
12 lines
282 B
JavaScript
// 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({
|
|
//
|
|
}),
|
|
],
|
|
}); |