Player: allow styles on CSP, loop videos
This commit is contained in:
parent
aa9af1d639
commit
f4bfc628ca
4 changed files with 9 additions and 9 deletions
|
|
@ -197,7 +197,7 @@ defmodule Pleroma.Web.OStatus.OStatusController do
|
|||
|> put_resp_header("x-frame-options", "ALLOW")
|
||||
|> put_resp_header(
|
||||
"content-security-policy",
|
||||
"default-src 'none'; img-src 'self' data: https:; media-src 'self' https:;"
|
||||
"default-src 'none';style-src 'self' 'unsafe-inline';img-src 'self' data: https:; media-src 'self' https:;"
|
||||
)
|
||||
|> put_view(Pleroma.Web.Metadata.PlayerView)
|
||||
|> render("player.html", url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue