{%- import '_globals.njk' as globals -%}
{% set metaTitle = "Player" %}
{% set uploadRoot = config.domain %}
{% set titleFormat = '%identifier% | ' + globals.name %}
{% extends "_layout.njk" %}
{% block stylesheets %}
{% endblock %}
{% block scripts %}
{% if not nojs -%}
{# We assign an ID for this so that the script can find out proper root URL of uploaded files #}
{%- endif %}
{% endblock %}
{% block endmeta %}
{% include "_partial/noscript-refresh.njk" %}
{% endblock %}
{% block content %}
{{ super() }}
This is an experimental embedded media player using Video.js.
This only allows you to play media uploads that you can play directly on your browser in the first place, and thus there is no additional support for other formats such as MKV.
{% set floatingHomeHref = '..' %}
{% include "_partial/floating-home.njk" %}
{% include "_partial/noscript.njk" %}
{% endblock %}