X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=plugins%2Fplayvideos%2FREADME.md;h=32a94e88080c31849b01e1acdcaa10677363eda2;hb=055d97f9a9e67d8ee8ae81bbf59a4b846a145d9f;hp=54729e0be5ea14d86169852d2b1d6cc94309d7da;hpb=a33c574461cd082588b11b8843fe8fd7f92e3fe6;p=github%2Fshaarli%2FShaarli.git diff --git a/plugins/playvideos/README.md b/plugins/playvideos/README.md index 54729e0b..32a94e88 100644 --- a/plugins/playvideos/README.md +++ b/plugins/playvideos/README.md @@ -8,14 +8,21 @@ This uses code from https://zaius.github.io/youtube_playlist/ and is currently o #### Installation and setup -This is a default Shaarli plugin, you just have to enable it. See https://github.com/shaarli/Shaarli/wiki/Shaarli-configuration/ +This is a default Shaarli plugin, you just have to enable it. See [Shaarli configuration](../../doc/md/Shaarli-configuration.md). #### Troubleshooting -If your server has [Content Security Policy](http://content-security-policy.com/) headers enabled, this may prevent the script from loading fully. You should relax the CSP in your server settings. Example CSP rule for apache2: -`Header set Content-Security-Policy "script-src 'self' 'unsafe-inline' https://www.youtube.com https://s.ytimg.com 'unsafe-eval'"` +If your server has [Content Security Policy](http://content-security-policy.com/) headers enabled, this may prevent the script from loading fully. You should relax the CSP in your server settings. Example CSP rule for apache2: +```apache + + # Required for playvideos plugin + Header set Content-Security-Policy "script-src 'self' 'unsafe-inline' https://www.youtube.com https://s.ytimg.com 'unsafe-eval'" + +``` + +You may place the `Header` directive in the `