Browse Source

dplayer 添加热键

reghao 2 years ago
parent
commit
907be43e31
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/components/VideoPlayer.vue

+ 2 - 1
src/components/VideoPlayer.vue

@@ -91,7 +91,8 @@ export default {
         video: {
           pic: coverUrl,
           defaultQuality: 0,
-          quality: urls
+          quality: urls,
+          hotkey: true
         },
         danmaku: {
           id: videoId,