1
這很奇怪。我正在使用youtube JavaScript API在我的網站上嵌入播放列表。除了我最近檢查我的工人正在發生的事情之外,這將會很好。看起來API決定將它的消息發送給其中的一個。Youtube API使用不相關的工作人員?
這裏是我的工作人員收到的數據。
bubbles: falsecancelBubble: falsecancelable: falsecurrentTarget: Windowdata: "{"event":"infoDelivery","info":{"currentTime":109.455757,"videoBytesLoaded":1,"videoLoadedFraction":1},"id":1}"defaultPrevented: falseeventPhase: 0lastEventId: ""origin: "https://www.youtube.com"path: Array[1]ports: Array[0]returnValue: truesource: WindowsrcElement: Windowtarget: WindowtimeStamp: 1428083437641type: "message"__proto__: MessageEvent
而且正如我在另一個問題的Youtube API見過這是否
www-embed-player.js:167 GET chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/cast_sender.js net::ERR_FAILED
我沒想到谷歌創造這樣錯誤的API。有沒有辦法禁用這些東西?