aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/embed.html
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/templates/embed.html')
-rw-r--r--youtube/templates/embed.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/youtube/templates/embed.html b/youtube/templates/embed.html
index 6a2998b..46d58fe 100644
--- a/youtube/templates/embed.html
+++ b/youtube/templates/embed.html
@@ -26,6 +26,13 @@
display: none !important;
}
</style>
+ {% if js_data %}
+ <script>
+ // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
+ data = {{ js_data|tojson }};
+ // @license-end
+ </script>
+ {% endif %}
</head>
<body>
<video id="js-video-player" controls autofocus onmouseleave="{{ title }}"