I'm trying to display a video in a lightning component:
<video width="400" controls="controls">
<source src="/servlet/servlet.FileDownload?file=ABCDEFGHIJ" type="video/mp4"/>
</video>
I'm running into the below error:
Refused to load media from '/servlet/servlet.FileDownload?file=ABCDEFGHIJ' because it violates the following Content Security Policy directive: "media-src 'self'".
I could not find any solutions on how to fix this, the same error when I'm trying a youtube or vimeo video. Any suggestion/help would be appreciated.
Thanks.