aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/playvideos
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-12 12:59:05 +0100
committerGitHub <noreply@github.com>2017-03-12 12:59:05 +0100
commit5eca4ea11ef7c292e8b1352a41db12183e159361 (patch)
tree268362f0c4cc4ef9b19b0a1e93099acb34059a60 /plugins/playvideos
parentcffc5ce3d1fb1d7154cf1e63ae09987d6528606c (diff)
parentb9b41d25e319f44f9fb8259a0237a8ee81ad394b (diff)
downloadShaarli-5eca4ea11ef7c292e8b1352a41db12183e159361.tar.gz
Shaarli-5eca4ea11ef7c292e8b1352a41db12183e159361.tar.zst
Shaarli-5eca4ea11ef7c292e8b1352a41db12183e159361.zip
Merge pull request #809 from ArthurHoaro/cleanup/inline-js
Remove inline JS and add LibreJS headers in JS files
Diffstat (limited to 'plugins/playvideos')
-rw-r--r--plugins/playvideos/youtube_playlist.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/playvideos/youtube_playlist.js b/plugins/playvideos/youtube_playlist.js
index be8d63af..3b608a5d 100644
--- a/plugins/playvideos/youtube_playlist.js
+++ b/plugins/playvideos/youtube_playlist.js
@@ -1,3 +1,31 @@
1/** @licstart The following is the entire license notice for the
2 * JavaScript code in this page.
3 *
4 * Copyright: (c) 2011-2015 Sébastien SAUVAGE <sebsauvage@sebsauvage.net>
5 * (c) 2011-2017 The Shaarli Community, see AUTHORS
6 *
7 * This software is provided 'as-is', without any express or implied warranty.
8 * In no event will the authors be held liable for any damages arising from
9 * the use of this software.
10 *
11 * Permission is granted to anyone to use this software for any purpose,
12 * including commercial applications, and to alter it and redistribute it
13 * freely, subject to the following restrictions:
14 *
15 * 1. The origin of this software must not be misrepresented; you must not
16 * claim that you wrote the original software. If you use this software
17 * in a product, an acknowledgment in the product documentation would
18 * be appreciated but is not required.
19 *
20 * 2. Altered source versions must be plainly marked as such, and must
21 * not be misrepresented as being the original software.
22 *
23 * 3. This notice may not be removed or altered from any source distribution.
24 *
25 * @licend The above is the entire license notice
26 * for the JavaScript code in this page.
27 */
28
1var run_playideos = (function () { 29var run_playideos = (function () {
2 var e, n, t, o, r, i = [].indexOf || function (e) { 30 var e, n, t, o, r, i = [].indexOf || function (e) {
3 for (var n = 0, t = this.length; n < t; n++) { 31 for (var n = 0, t = this.length; n < t; n++) {