优化docs

This commit is contained in:
Harvey committed 2020-05-20 10:30:21 +08:00
1 parent bafbd78018
commit caa0128d37
24 files changed
+2667 -1850

No files matched your search

+2 -3
View File
@@ -1,14 +1,13 @@
var url = 'https://zhw2590582.github.io/assets-cdn';
var art = new Artplayer({
container: '.artplayer-app',
url: url + '/video/your-name.mp4',
url: '/assets/sample/video.mp4',
autoSize: true,
setting: true,
playbackRate: true,
fullscreenWeb: true,
plugins: [
artplayerPluginDanmuku({
danmuku: url + '/danmuku/your-name.xml',
danmuku: '/assets/sample/danmuku.xml',
speed: 5,
maxlength: 50,
margin: [10, 100],