aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2018-11-14 10:38:56 -0500
committerJesús <heckyel@hyperbola.info>2018-11-14 10:38:56 -0500
commita489933ae597e0aac53958d6f34c7a1d62c9946d (patch)
treee137c16c0ea3a39738d31be25ee817d2155fafc8
parentbb67f32cd58c8f8c69d50560cb7cada5addd42d4 (diff)
downloadytlibre-a489933ae597e0aac53958d6f34c7a1d62c9946d.tar.lz
ytlibre-a489933ae597e0aac53958d6f34c7a1d62c9946d.tar.xz
ytlibre-a489933ae597e0aac53958d6f34c7a1d62c9946d.zip
update license of plyr
-rw-r--r--index.php2
-rw-r--r--templates/librejs.html7
-rw-r--r--templates/video.tpl2
3 files changed, 8 insertions, 3 deletions
diff --git a/index.php b/index.php
index 2a1826f..691e5ed 100644
--- a/index.php
+++ b/index.php
@@ -41,7 +41,7 @@ if (empty($_GET['link'])){
);
/* ---- ---- JS ---- ---- */
- $video_decode->assign('javascript', array('plyr' => 'templates/libs/plyr/plyr.js')
+ $video_decode->assign('javascript', array('plyr' => 'templates/libs/plyr/plyr.min.js')
);
/* ---- ---- Embed ---- ---- */
diff --git a/templates/librejs.html b/templates/librejs.html
index 91a8e78..93e0e3c 100644
--- a/templates/librejs.html
+++ b/templates/librejs.html
@@ -10,9 +10,14 @@
<table id="jslicense-labels1">
<tbody>
<tr>
+ <td><a href="./libs/plyr/plyr.min.js">plyr.min.js</a></td>
+ <td><a href="https://www.freebsd.org/copyright/freebsd-license.html">Expat</a></td>
+ <td><a href="https://gitlab.com/heckyel-ng/plyr/-/archive/v3.4.7/plyr-v3.4.7.tar.gz">plyr.tar.gz</a></td>
+ </tr>
+ <tr>
<td><a href="./libs/plyr/plyr.js">plyr.js</a></td>
<td><a href="https://www.freebsd.org/copyright/freebsd-license.html">Expat</a></td>
- <td><a href="https://gitlab.com/heckyel-ng/plyr/-/archive/v3.4.4/plyr-v3.4.4.tar.gz">plyr.tar.gz</a></td>
+ <td><a href="https://gitlab.com/heckyel-ng/plyr/-/archive/v3.4.7/plyr-v3.4.7.tar.gz">plyr.tar.gz</a></td>
</tr>
</tbody>
</table>
diff --git a/templates/video.tpl b/templates/video.tpl
index 38e9149..f2527f1 100644
--- a/templates/video.tpl
+++ b/templates/video.tpl
@@ -113,6 +113,6 @@
</p>
</footer>
</div>
- <script src="{$javascript.plyr}"></script>
+ <script src="{$javascript.plyr}" integrity="sha512-k0w6wxzlpLJ+mv/hTFFSS54ePiIgRTs+qJbGJZvCiHhmUI/gsoo9FpRnxvf1f1aWuGN2/bQ1F10Uz6GXkAFuSQ=="></script>
</body>
</html>