Browse Source

docs: danmaku display

DIYgod 5 years ago
parent
commit
d2a7c8d17a
2 changed files with 3 additions and 5 deletions
  1. 2 1
      demo/demo.js
  2. 1 4
      docs/.vuepress/components/DPlayer.vue

+ 2 - 1
demo/demo.js

@@ -69,7 +69,8 @@ function initPlayers () {
         },
         danmaku: {
             id: '9E2E3368B56CDBB4',
-            api: 'https://api.prprpr.me/dplayer/'
+            api: 'https://api.prprpr.me/dplayer/',
+            addition: ['https://cn-south-17-dplayer-49648867.oss.dogecdn.com/1678963.json']
         }
     });
 

+ 1 - 4
docs/.vuepress/components/DPlayer.vue

@@ -40,11 +40,8 @@ export default {
                     id: '9E2E3368B56CDBB4',
                     api: 'https://api.prprpr.me/dplayer/',
                     token: 'tokendemo',
-                    maximum: 1000,
-                    addition: ['https://api.prprpr.me/dplayer/v3/bilibili?aid=4157142'],
                     user: 'DIYgod',
-                    bottom: '15%',
-                    unlimited: true
+                    addition: ['https://cn-south-17-dplayer-49648867.oss.dogecdn.com/1678963.json']
                 },
                 contextmenu: [
                     {