fix missing data variable

This commit is contained in:
Jesús 2021-08-29 21:44:08 -05:00
parent 5ff216d1ba
commit ee581c56a3
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 15 additions and 0 deletions

View File

@ -13,6 +13,14 @@
{% block style %} {% block style %}
{{ style }} {{ style }}
{% endblock %} {% endblock %}
{% 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> </head>
<body> <body>

View File

@ -26,6 +26,13 @@
display: none !important; display: none !important;
} }
</style> </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> </head>
<body> <body>
<video id="js-video-player" controls autofocus onmouseleave="{{ title }}" <video id="js-video-player" controls autofocus onmouseleave="{{ title }}"