aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
Diffstat (limited to 'youtube')
-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 %}