فهرست منبع

demo 中options属性写错成了option

wdssmq 4 سال پیش
والد
کامیت
9ca151eebf
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      demo/demo.js

+ 1 - 1
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',