From f020c30f5685466a4252da7f03d3c3f4a22233a3 Mon Sep 17 00:00:00 2001 From: Harvey Date: Mon, 16 May 2022 18:27:24 +0800 Subject: [PATCH] remove danmuku.html --- docs/assets/example/danmuku.js | 1 - docs/danmuku.html | 195 --------------------------------- docs/mobile.html | 31 ++++++ 3 files changed, 31 insertions(+), 196 deletions(-) delete mode 100644 docs/danmuku.html diff --git a/docs/assets/example/danmuku.js b/docs/assets/example/danmuku.js index bee5da9d8..91e767ca9 100644 --- a/docs/assets/example/danmuku.js +++ b/docs/assets/example/danmuku.js @@ -29,7 +29,6 @@ var art = new Artplayer({ // mount 选项用于自定义弹幕输入框的挂载位置,默认挂载在播放器控制栏中间 // 但在移动端下控制栏宽度不足,所以最好自己决定弹幕输入框放在那里 - // 移动端弹幕DEMO:http://artplayer.org/danmuku.html // mount: document.querySelector('.your-danmu-input'), }), ], diff --git a/docs/danmuku.html b/docs/danmuku.html deleted file mode 100644 index 39506e423..000000000 --- a/docs/danmuku.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - Artplayer.js - - - - - - - - - - -
-
-
-

-
- - - - - - - - \ No newline at end of file diff --git a/docs/mobile.html b/docs/mobile.html index 6d22036c7..0acd28509 100644 --- a/docs/mobile.html +++ b/docs/mobile.html @@ -29,6 +29,14 @@ height: 50%; } + .artplayer-danmuku { + display: flex; + align-items: center; + justify-content: center; + padding: 5px; + background-color: #000; + } + .tip { text-align: center; } @@ -38,11 +46,13 @@
+

+