invidious/src
Samantaz Fox 5e0f55333a
Allow embedding videos in local HTML files (#4450)
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.

Closes issue 4448
2024-07-10 22:24:18 +02:00
..
ext StaticFileHandler: use HTTP::Status rather than integers 2022-08-15 13:22:39 +02:00
invidious Allow embedding videos in local HTML files (#4450) 2024-07-10 22:24:18 +02:00
invidious.cr API: Add APIHandler back 2024-02-13 21:05:26 +01:00