docs: fix CORS

This commit is contained in:
DIYgod 2018-06-29 21:01:28 +08:00
parent f3a5f49228
commit d1d068ffb9
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67

View File

@ -81,15 +81,11 @@ function clearPlayer () {
function dplayer1 () {
window.dp1 = new DPlayer({
container: document.getElementById('dplayer1'),
screenshot: true,
video: {
url: 'https://pan.prprpr.me/?/dplayer/hikarunara.mp4',
pic: 'https://moeplayer.b0.upaiyun.com/dplayer/hikarunara.png',
thumbnails: 'https://moeplayer.b0.upaiyun.com/dplayer/hikarunara_thumbnails.jpg'
},
subtitle: {
url: 'https://moeplayer.b0.upaiyun.com/dplayer/hikarunara.vtt'
},
danmaku: {
id: '9E2E3368B56CDBB4',
api: 'https://api.prprpr.me/dplayer/'