diff --git a/themes/beauty/views/site/player.php b/themes/beauty/views/site/player.php index 0880dff..7038684 100644 --- a/themes/beauty/views/site/player.php +++ b/themes/beauty/views/site/player.php @@ -38,8 +38,12 @@
+ - ⬇️ + download icon 下载视频
diff --git a/www/js/beauty.js b/www/js/beauty.js index 4d1f28e..d511d72 100644 --- a/www/js/beauty.js +++ b/www/js/beauty.js @@ -370,4 +370,8 @@ if ($('#my-player').length > 0 && typeof(videojs) != 'undefined') { setTimeout(takeScreenshot, screenshot_start); }); + + $('.btn-snapshot').click(function() { + takeScreenshot(); + }); } \ No newline at end of file