mirror of
https://github.com/DIYgod/DPlayer
synced 2024-11-22 18:56:54 +00:00
docs: fix CORS
This commit is contained in:
parent
f3a5f49228
commit
d1d068ffb9
@ -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/'
|
||||
|
Loading…
Reference in New Issue
Block a user