What an unusual situation! I've implemented the YouTube JavaScript API to display a playlist on my website, but upon checking how things were operating in my workers, it appears that the API is directing its messages to an unexpected location.
The data being received by my worker is as follows:
bubbles: false
cancelBubble: false
cancelable: false
currentTarget: Window
data: "{"event":"infoDelivery","info":{"currentTime":109.455757,"videoBytesLoaded":1,"videoLoadedFraction":1},"id":1}"
defaultPrevented: false
eventPhase: 0
lastEventId: ""
origin: "https://www.youtube.com"
path: Array[1]
ports: Array[0]
returnValue: true
source: Window
srcElement: Window
target: Window
timeStamp: 1428083437641
type: "message"
__proto__: MessageEvent
In addition, I noticed in another query regarding the YouTube API:
www-embed-player.js:167 GET chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/cast_sender.js net::ERR_FAILED
I never anticipated encountering such issues with Google's API. Is there a way to deactivate these features?