Node WebKit and YouTube: chrome is not defined
I'm developing an app for Android , iOS , Mac OS and Windows using PhoneGap and Node-WebKit . This application has embedded youtube videos. These youtube videos are working fine in my Mobile app ( Android / iPhone ) using PhoneGap , but if I test it on my Mac (building the app using grunt node-webkit builder ) I get the following error: Uncaught ReferenceError: chrome is not defined www-embed-player.js:184 I tried to check that line and there is some code like: chrome.cast.requestSession(v(this.Lc,this) I'm embedding the videos using an iframe: <iframe src="http://www.youtube.com/embed