aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/playvideos
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2015-11-30 22:43:28 +0100
committernodiscc <nodiscc@gmail.com>2015-11-30 22:43:28 +0100
commita33c574461cd082588b11b8843fe8fd7f92e3fe6 (patch)
tree24e53d09c641f496d155a451e08b63c80607cae6 /plugins/playvideos
parent05f21ea82130dca0bf49a16630105d1c5649e6c6 (diff)
downloadShaarli-a33c574461cd082588b11b8843fe8fd7f92e3fe6.tar.gz
Shaarli-a33c574461cd082588b11b8843fe8fd7f92e3fe6.tar.zst
Shaarli-a33c574461cd082588b11b8843fe8fd7f92e3fe6.zip
remove obsolete doc
Diffstat (limited to 'plugins/playvideos')
-rw-r--r--plugins/playvideos/README.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/playvideos/README.md b/plugins/playvideos/README.md
index ec1ead8d..54729e0b 100644
--- a/plugins/playvideos/README.md
+++ b/plugins/playvideos/README.md
@@ -1,22 +1,22 @@
1### ► Play Videos plugin for Shaarli 1### ► Play Videos plugin for Shaarli
2This plugin adds a `► Play Videos` button to [Shaarli](https://github.com/shaarli/Shaarli)'s toolbar. Click this button to play all videos on the page in an overlay HTML5 player. Nice for continuous stream of music, documentaries, talks...
3 2
4This uses code from https://zaius.github.io/youtube_playlist/ and is currently only compatible with Youtube videos. 3Adds a `► Play Videos` button to [Shaarli](https://github.com/shaarli/Shaarli)'s toolbar. Click this button to play all videos on the page in an overlay HTML5 player. Nice for continuous stream of music, documentaries, talks...
4
5<!-- TODO screenshot -->
5 6
6![](https://cdn.mediacru.sh/D_izf0zjAtxy.png) 7This uses code from https://zaius.github.io/youtube_playlist/ and is currently only compatible with Youtube videos.
7 8
8#### Installation and setup 9#### Installation and setup
9Place the files in the `tpl/plugins/playvideos/` directory of your Shaarli.
10This is a default Shaarli plugin, you just have to enable it.
11 10
12To enable the plugin, add `playvideos` to the `TOOLBAR_PLUGINS` config option in your `index.php` or `data/options.php`. Example: 11This is a default Shaarli plugin, you just have to enable it. See https://github.com/shaarli/Shaarli/wiki/Shaarli-configuration/
13 12
14 $GLOBALS['config']['TOOLBAR_PLUGINS'] = array('aplugins', 'anotherone', 'playvideos');
15 13
16#### Troubleshooting 14#### Troubleshooting
15
17If 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: 16If 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:
18`Header set Content-Security-Policy "script-src 'self' 'unsafe-inline' https://www.youtube.com https://s.ytimg.com 'unsafe-eval'"` 17`Header set Content-Security-Policy "script-src 'self' 'unsafe-inline' https://www.youtube.com https://s.ytimg.com 'unsafe-eval'"`
19 18
19
20### License 20### License
21``` 21```
22File: youtube_playlist.js 22File: youtube_playlist.js
@@ -68,4 +68,4 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
68THE SOFTWARE. 68THE SOFTWARE.
69 69
70---------------------------------------------------- 70----------------------------------------------------
71``` \ No newline at end of file 71```