const request = new goog.pal.NonceRequest();
request.adWillAutoPlay = true;
request.adWillPlayMuted = false;
request.continuousPlayback = true;
request.playerType = 'html-video'; // Adding it hardcoded since this value will never change (or at least it shouldn't)
request.playerVersion = '5.0'; // Adding it hardcoded since this value will never change (or at least it shouldn't)
request.videoHeight = resolution.height;
request.videoWidth = resolution.width;
resolution.height returns a int (1080) and resolution.width returns a int (1920)
I realized it works if my url is localhost:8080 but it doesn't work if my url is 192.168.0.18:8080 What could be wrong in my implementation?