From 0f9aa98160997367d41da00e18f9a453fbb3dc31 Mon Sep 17 00:00:00 2001 From: filesite Date: Sun, 14 Jul 2024 16:10:21 +0800 Subject: [PATCH] add video download button --- themes/beauty/views/site/player.php | 6 ++++++ www/css/beauty.css | 2 ++ 2 files changed, 8 insertions(+) diff --git a/themes/beauty/views/site/player.php b/themes/beauty/views/site/player.php index 474ed3a..3e620a9 100644 --- a/themes/beauty/views/site/player.php +++ b/themes/beauty/views/site/player.php @@ -35,4 +35,10 @@ id="myvideo"> +
+ + ⬇️ + 下载视频 + +
\ No newline at end of file diff --git a/www/css/beauty.css b/www/css/beauty.css index 103a620..b07a828 100644 --- a/www/css/beauty.css +++ b/www/css/beauty.css @@ -127,6 +127,8 @@ a:link{text-decoration:none} .videoplayer{max-width:800px;margin:0 auto;text-align:center} .videoplayer video{width:100%} .videotitle{max-width:600px;overflow:hidden;text-wrap:nowrap;text-overflow:ellipsis} +.mt-2{margin-top:2em} +.mr-1{margin-right:1em} @media screen and (max-width: 1199px) { .im_item {