Browse Source

change back-end URL in demo

DIYgod 8 years ago
parent
commit
71c0590e64
1 changed files with 8 additions and 8 deletions
  1. 8 8
      index.html

+ 8 - 8
index.html

@@ -80,7 +80,7 @@
         },
         danmaku: {
             id: '9E2E3368B56CDBB4',
-            api: 'https://dplayer.daoapp.io/',
+            api: 'https://api.prprpr.me/dplayer/',
             token: 'tokendemo',
             maximum: 3000
         }
@@ -93,7 +93,7 @@
                     },
                     {
                         id: '5rGf5Y2X55qu6Z2p',
-                        api: 'https://dplayer.daoapp.io/',
+                        api: 'https://api.prprpr.me/dplayer/',
                         token: 'tokendemo',
                         maximum: 3000
                     });
@@ -105,7 +105,7 @@
                     },
                     {
                         id: '9E2E3368B56CDBB4',
-                        api: 'https://dplayer.daoapp.io/',
+                        api: 'https://api.prprpr.me/dplayer/',
                         token: 'tokendemo',
                         maximum: 3000
                     });
@@ -130,10 +130,10 @@
                     },
                     danmaku: {
                         id: '5rGf5Y2X55qu6Z2p',
-                        api: 'https://dplayer.daoapp.io/',
+                        api: 'https://api.prprpr.me/dplayer/',
                         token: 'tokendemo',
                         maximum: 3000,
-                        addition: ['https://dplayer.daoapp.io/bilibili?aid=4045652']
+                        addition: ['https://api.prprpr.me/dplayer/bilibili?aid=4045652']
                     }
                 });
             }
@@ -142,7 +142,7 @@
             }
         }
     };
-    xhr.open('get', 'https://dplayer.daoapp.io/video/bilibili?aid=4045652', true);
+    xhr.open('get', 'https://api.prprpr.me/dplayer/video/bilibili?aid=4045652', true);
     xhr.send(null);
 
     // Live Video (HTTP Live Streaming, M3U8 format) support
@@ -159,7 +159,7 @@
         },
         danmaku: {
             id: '9E2E3368B56CDBB42',
-            api: 'https://dplayer.daoapp.io/',
+            api: 'https://api.prprpr.me/dplayer/',
             token: 'tokendemo',
             maximum: 3000
         }
@@ -179,7 +179,7 @@
         },
         danmaku: {
             id: '9E2E3368B56CDBB43',
-            api: 'https://dplayer.daoapp.io/',
+            api: 'https://api.prprpr.me/dplayer/',
             token: 'tokendemo',
             maximum: 3000
         }