{% extends "wagtailadmin/base.html" %} {% load embed_video_tags static wagtailadmin_tags wagtailimages_tags %} {% load i18n %} {% block titletag %}{% blocktrans with title=embed_video.title %}Editing video {{ title }}{% endblocktrans %}{% endblock %} {% block bodyclass %}menu-embed-videos{% endblock %} {% block extra_css %} {% endblock %} {% block extra_js %} {% url 'wagtailadmin_tag_autocomplete' as autocomplete_url %} {# TODO: Find a way to inject page editor handler in the return of the view and not injecting it here #} {% endblock %} {% block content %} {% trans "Editing" as editing_str %} {% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=embed_video.title icon="media" usage_object=embed_video %}
{% csrf_token %}
{% video embed_video.url as my_video %} {% video my_video "small" %}
Backend: {{ my_video.backend }} {% endvideo %}
{% endblock %}