HI,
I have an WebApp that creates a WebRTC peerconnection and I have a video call between 2 browsers. Now, i want to "pop-up" the video in a new window, and for that, I have an extension that creates a new window via chrome.windows.create, and then I inject a content script on this new window to allow the communication between this new window and the extension. All working fine.
The issue is that I pass the videoUrl displayed on my WebApp to the content-script, and use it to update the <video> element of new window. The issue is that I always get a 404 (below).
I did a quick test using window.open to create the window (from the WebApp, instead of the extension), and update the video URL via a jQuery function, and it works.
Failed to load resource: the server responded with a status of 404 (Not Found) blob:https%3A//vmw-server.yourcircuit.com%3A8094/e08e3d13-ddf5-400c-bbe9-afccd0d8a704
Could this be caused by the Content Security policy? if yes, how can I overcome this? Do I need create a new peer connection on the new window created by the extension, or there is a way to use the videoUrl provided by the WebApp??