{% extends "wagtailadmin/base.html" %} {% load staticfiles i18n wagtailvideos_tags %} {% block titletag %}{% blocktrans with title=video.title %}Editing video {{ title }}{% endblocktrans %}{% endblock %} {% block extra_css %} {% endblock %} {% block extra_js %} {{ block.super }} {% url 'wagtailadmin_tag_autocomplete' as autocomplete_url %} {% endblock %} {% block content %} {% trans "Editing" as editing_str %} {% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=video.title icon="media" usage_object=video %}
{% csrf_token %}
    {% for field in form %} {% if field.name == 'file' %} {% include "wagtailvideos/videos/_file_field_as_li.html" %} {% elif field.is_hidden %} {{ field }} {% else %} {% include "wagtailadmin/shared/field_as_li.html" %} {% endif %} {% endfor %}
  • {% if user_can_delete %} {% trans "Delete video" %} {% endif %}

{% trans "Video preview" %}

{% video video controls style=max-width:100% %}

Transcodes

If you wish to generate HTML5 compliant transcodes use the form below. This may take a while dependung in the length of the video.

{% if transcodes %}

Available Transcodes

{% endif %}

Create transcode

    {% csrf_token %} {% include "wagtailadmin/shared/field_as_li.html" with field=transcode_form.media_format %}
{% trans "Thumbnail" %}
{% trans "Filesize" %}
{% if filesize %}{{ filesize|filesizeformat }}{% else %}{% trans "File not found" %}{% endif %}
{% trans "Duration" %}
{{ video.duration }}
{% endblock %}