Ver Fonte

Related Projects: Vue-DPlayer

DIYgod há 8 anos atrás
pai
commit
5406247119
1 ficheiros alterados com 5 adições e 2 exclusões
  1. 5 2
      docs/README.md

+ 5 - 2
docs/README.md

@@ -62,10 +62,11 @@ var dp = new DPlayer({
     },
     danmaku: {                                                         // Optional, showing danmaku, ignore this option to hide danmaku
         id: '9E2E3368B56CDBB4',                                        // Required, danmaku id, NOTICE: it must be unique, can not use these in your new player: `https://api.prprpr.me/dplayer/list`
-        api: 'https://api.prprpr.me/dplayer/',                             // Required, danmaku api
+        api: 'https://api.prprpr.me/dplayer/',                         // Required, danmaku api
         token: 'tokendemo',                                            // Optional, danmaku token for api
         maximum: 1000,                                                 // Optional, maximum quantity of danmaku
-        addition: ['https://api.prprpr.me/dplayer/bilibili?aid=4157142']   // Optional, additional danmaku, see: `Bilibili 弹幕支持`
+        addition: ['https://api.prprpr.me/dplayer/bilibili?aid=4157142'] // Optional, additional danmaku, see: `Bilibili 弹幕支持`,
+        user: 'DIYgod'                                                 // Optional, current user's name, default: 'DIYgod'
     }
 });
 ```
@@ -227,6 +228,8 @@ $ npm run build
 
 - [DPlayer for WordPress](https://github.com/BlueCocoa/DPlayer-WordPress)
 
+- [Vue-DPlayer](https://github.com/sinchang/vue-dplayer)
+
 ## LICENSE
 
 [The Star And Thank Author License (SATA)](https://github.com/zTrix/sata-license)