aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-02-21 15:52:27 -0500
committerJesús <heckyel@hyperbola.info>2022-02-21 15:52:27 -0500
commite8cbc5074a7f25b3c513c9ce7f3a4a9797330d11 (patch)
tree5d4c719ac3f61ce95487b65886dd8311ef2e2ebf
parent47688357664c936b37feef6fc8e2653f08a679dc (diff)
downloadyt-local-e8cbc5074a7f25b3c513c9ce7f3a4a9797330d11.tar.lz
yt-local-e8cbc5074a7f25b3c513c9ce7f3a4a9797330d11.tar.xz
yt-local-e8cbc5074a7f25b3c513c9ce7f3a4a9797330d11.zip
[embed]: Fix undefined storyboard_url and add license
-rw-r--r--youtube/templates/embed.html7
-rw-r--r--youtube/templates/watch.html6
2 files changed, 11 insertions, 2 deletions
diff --git a/youtube/templates/embed.html b/youtube/templates/embed.html
index 97bcf9f..4e642a8 100644
--- a/youtube/templates/embed.html
+++ b/youtube/templates/embed.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="es">
+<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
@@ -55,6 +55,11 @@
// @license-end
</script>
{% endif %}
+ <script>
+ // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
+ let storyboard_url = {{ storyboard_url | tojson }};
+ // @license-end
+ </script>
{% if settings.use_video_player == 2 %}
<!-- plyr -->
<script src="/youtube.com/static/modules/plyr/plyr.min.js"
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 95296d2..eac70ee 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -239,7 +239,11 @@
<script src="/youtube.com/static/js/av-merge.js"></script>
<script src="/youtube.com/static/js/watch.js"></script>
- <script> let storyboard_url = {{ storyboard_url | tojson }} </script>
+ <script>
+ // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
+ let storyboard_url = {{ storyboard_url | tojson }};
+ // @license-end
+ </script>
<script src="/youtube.com/static/js/common.js"></script>
<script src="/youtube.com/static/js/transcript-table.js"></script>
{% if settings.use_video_player == 2 %}