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/CHANGELOG_CN.md b/CHANGELOG_CN.md index 6672b1633..ff49bfe7b 100644 --- a/CHANGELOG_CN.md +++ b/CHANGELOG_CN.md @@ -11,12 +11,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - 修复弹幕输入框的固定宽度 bug - 设置面板支持 range 和 onRange 选项 - 添加 isAndroid 和 isiOS 工具函数 -- 弹幕库添加 mount 选项,可自定义弹幕输入框的挂载位置 - 弹幕库添加 lockTime 选项,可自定义输入框的锁定时间 - 弹幕库添加 maxLength 选项,控制输入最大可输入字数 - 弹幕库添加 minWidth 选项,控制输入框最小宽度 - 弹幕库添加 maxWidth 选项,控制输入框最大宽度 -- 弹幕库添加 moveOnFullscreen 选项,控制全屏时是否移动输入框 ## [4.4.0] - 2022-05-15 diff --git a/docs/assets/example/danmuku.js b/docs/assets/example/danmuku.js index 91e767ca9..d3e5c3377 100644 --- a/docs/assets/example/danmuku.js +++ b/docs/assets/example/danmuku.js @@ -23,13 +23,8 @@ var art = new Artplayer({ filter: (danmu) => danmu.text.length < 50, // 弹幕过滤函数 lockTime: 5, // 输入框锁定时间,单位秒,范围在[1 ~ 60] maxLength: 100, // 输入框最大可输入的字数,范围在[0 ~ 500] - minWidth: 150, // 输入框最少宽度,范围在[0 ~ 500],超出则隐藏,填 0 则永不隐藏 - maxWidth: 400, // 输入框最大宽度,范围在[0 ~ Infinity],填 0 则 100% 宽度 - moveOnFullscreen: true, // 自定义挂载输入框时,当全屏状态下是否自动把输入框移动到控制栏里 - - // mount 选项用于自定义弹幕输入框的挂载位置,默认挂载在播放器控制栏中间 - // 但在移动端下控制栏宽度不足,所以最好自己决定弹幕输入框放在那里 - // mount: document.querySelector('.your-danmu-input'), + minWidth: 200, // 输入框最少宽度,范围在[0 ~ 500],填 0 则为无限制 + maxWidth: 600, // 输入框最大宽度,范围在[0 ~ Infinity],填 0 则为 100% 宽度 }), ], }); diff --git a/docs/document/404.html b/docs/document/404.html index 2e68ae083..4a22c829b 100644 --- a/docs/document/404.html +++ b/docs/document/404.html @@ -5,13 +5,13 @@
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.