From 9ca151eebf8b496e17673775d36bc7bcdb8f7780 Mon Sep 17 00:00:00 2001 From: wdssmq Date: Fri, 13 Nov 2020 11:19:36 +0800 Subject: [PATCH] =?UTF-8?q?demo=20=E4=B8=ADoptions=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E5=86=99=E9=94=99=E6=88=90=E4=BA=86option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/demo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/demo.js b/demo/demo.js index acc7112..b09ff87 100644 --- a/demo/demo.js +++ b/demo/demo.js @@ -244,7 +244,7 @@ function clearPlayers() { } function switchDPlayer() { - if (dp2.option.danmaku.id !== '5rGf5Y2X55qu6Z2p') { + if (dp2.options.danmaku.id !== '5rGf5Y2X55qu6Z2p') { dp2.switchVideo({ url: 'http://static.smartisanos.cn/common/video/t1-ui.mp4', pic: 'http://static.smartisanos.cn/pr/img/video/video_03_cc87ce5bdb.jpg',