change back-end URL in demo

This commit is contained in:
DIYgod 2016-11-08 01:34:56 +08:00
parent 419b7146ee
commit 712ce34e80
No known key found for this signature in database
GPG Key ID: F8797DD1088C6506

View File

@ -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
}