Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
routes: Allow embedding videos in local HTML files (fixes iv-org#4448)
The current Content Security Policy does not allow to embed videos inside local HTML files which are viewed in the browser via the file protocol. This commit adds the file protocol to the allowed frame ancestors, so that the embedded videos load correctly in local HTML files. This behaviour is consistent which how the official YouTube website allows to embed videos from itself. Signed-off-by: Tomasz Wilczyński <[email protected]>
- Loading branch information