Sfoglia il codice sorgente

dplayer 添加热键

reghao 2 anni fa
parent
commit
907be43e31
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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,