diff --git a/docs/assets/example/chapter.js b/docs/assets/example/chapter.js new file mode 100644 index 000000000..be7841496 --- /dev/null +++ b/docs/assets/example/chapter.js @@ -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({ + // + }), + ], +}); \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index fd520c6a1..08ec09c40 100644 --- a/docs/index.html +++ b/docs/index.html @@ -65,6 +65,10 @@ artplayer-plugin-vast +
  • + artplayer-plugin-chapter +