{% extends "base.html" %}

{% load i18n inlinetrans action_tags videoplayer %}

{% block extrahead %}{% if video %}{% videoplayerjs video %}{% endif %}{% endblock %}

{% block pagetitle %}{{ content }}{% endblock %}

{% block extrabodytag %}onload="init()"{% endblock %}

{% block breadcrumbs %}
    {% include "inc.breadcrumbs.html" %}
    <span class="breadcrumbSeparator">→</span>
    <a href="/canales-de-television" title="{% trans "Channels" %}">{% inline_trans "Channels" %}</a>
    <span class="breadcrumbSeparator">→</span>
    <span>{{ channel }}
{% endblock %}

{% block content %}
{{ block.super }}
    {% if video %}
        <div class="video">
            {% videoplayer video %}
        </div>
    {% endif %}
{% endblock %}
