Unable to show video stream in Atom (Content Security Policy)


I’m creating a video conference package for Atom using PeerJS. My problem is I cannot show video stream in a video element. When I try to set “src” attribute, it says “Refused to load media from ‘blob:file’ because it violates the following Content Security Policy directive:”. Is there a way to bypass CSP in Atom?


Other than the loophole module, I don’t know of one.


@leedohm Thank you for the reply. Is this module applicable for this use case? How can I set a video source with it?


That I don’t have an answer to. I just know that it is the way that some packages get around aspects of the CSP in Atom.