I am trying to build a chrome extension which can record the current tab using chrome.desktopCapture.chooseDesktopMedia
and stream the recording to the default_popup file.
Currently I am getting the stream's object url in a content script, passing it to the background script to do some checks and then pass it again to popup.js which is the javascript file for my pop up. the stream works and displays as a video when played on the page's DOM and the object passing is no problem either.
but it seems that the objectURL cannot access the video from the popup! is there any way around this?
This is the error I got when inspecting the pop up's console:
blob:https%3A//developer.chrome.com/5363c96d-69ff-4e91-8d06-48f1648ad0e4 Failed to load resource: the server responded with a status of 404 (Not Found)