diff options
-rw-r--r-- | embed/index.php | 2 | ||||
-rw-r--r-- | templates/embed.tpl | 28 |
2 files changed, 28 insertions, 2 deletions
diff --git a/embed/index.php b/embed/index.php index d0e3691..0136083 100644 --- a/embed/index.php +++ b/embed/index.php @@ -34,7 +34,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') ); $video_decode->display('../templates/embed.tpl'); diff --git a/templates/embed.tpl b/templates/embed.tpl index bffaf61..53939d6 100644 --- a/templates/embed.tpl +++ b/templates/embed.tpl @@ -7,6 +7,32 @@ <link rel="icon" href="templates/images/favicon.png" sizes="192x192" /> <!--Plyr--> <link href="{$styles.plyr}" rel="stylesheet"/> + <script> + /* + @licstart The following is the entire license notice for the + JavaScript code in this page. + + Copyright (C) {$smarty.now|date_format:"%Y"} Jesús E. | <heckyel@hyperbola.info> + + The JavaScript code in this page is free software: you can + redistribute it and/or modify it under the terms of the GNU + General Public License (GNU GPL) as published by the Free Software + Foundation, either version 3 of the License, or (at your option) + any later version. The code is distributed WITHOUT ANY WARRANTY; + without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU GPL for more details. + + As additional permission under GNU GPL version 3 section 7, you + may distribute non-source (e.g., minimized or compacted) forms of + that code without the copy of the GNU GPL normally required by + section 4, provided you include this license notice and a URL + through which recipients can access the Corresponding Source. + + + @licend The above is the entire license notice + for the JavaScript code in this page. + */ + </script> </head> <body> <video class="player-ply" controls poster="{$librethumb}" data-setup="{}"> @@ -25,6 +51,6 @@ // @license-end </script> <!--EndPlyr--> - <script src="{$javascript.plyr}" integrity="sha512-4mUJ0zlgfwmARMBdCdA7qbppB5kaR744f1AG8cvv0BhW4PlE5Qq491hKXQCFppgtsTr3SczVTwieOUw/YktM/w=="></script> + <script src="{$javascript.plyr}" integrity="sha512-k0w6wxzlpLJ+mv/hTFFSS54ePiIgRTs+qJbGJZvCiHhmUI/gsoo9FpRnxvf1f1aWuGN2/bQ1F10Uz6GXkAFuSQ=="></script> </body> </html> |