Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
diff --git a/docs/assets/example/danmuku.js b/docs/assets/example/danmuku.js index 59a8fc513..34a65543c 100644 --- a/docs/assets/example/danmuku.js +++ b/docs/assets/example/danmuku.js @@ -21,8 +21,10 @@ var art = new Artplayer({ useWorker: true, // 是否使用 web worker synchronousPlayback: false, // 是否同步到播放速度 filter: (danmu) => danmu.text.length < 50, // 弹幕过滤函数 - lockTime: 5, // 弹幕输入框的锁定时间,单位秒,范围在[0 ~ 60] - // 自定义弹幕输入框的挂载位置,默认挂载在播放器控制栏中间 + + // mount 选项用于自定义弹幕输入框的挂载位置,默认挂载在播放器控制栏中间 + // 但在移动端下控制栏宽度不足,所以最好自己决定弹幕输入框放在那里 + // 移动端弹幕DEMO:http://artplayer.org/danmuku.html // mount: document.querySelector('.your-danmu-input'), }), ], diff --git a/docs/danmuku.html b/docs/danmuku.html index f8097b828..ec4236b91 100644 --- a/docs/danmuku.html +++ b/docs/danmuku.html @@ -29,6 +29,11 @@ height: 50%; } + .danmuku-input { + padding: 5px; + background-color: #000; + } + .tip { text-align: center; } @@ -38,14 +43,130 @@
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.