{% extends "base.html.j2" %} {% import 'macros.imp.j2' as macros %} {% block title %}{{ title | e }} — {{ author | e }}{% endblock %} {% block content %} {% if video_url %}
{% else %}{#TODO: this'll break livestreams #} {% endif %} {% if video_error %}
{{ errdetails }} Watch on Invidious or Youtube
{% endif %}

{{ title | e }}
{{ author | e }}

Description

{{ description | e }}


Metadata
Duration
{{ length | format_time }}
Views
{{ '{0:,}'.format(views | int)|replace(","," ") }}
Published
{{ published.split('T')[0] }}
Rating
{{ rating | round(1) }}/5
Visibility
{{ 'unlisted' if unlisted else 'public' }} {% if blacklisted|length == 0 %}
Available in
all regions {% elif whitelisted|length == 0 %}
Blacklisted in
all regions {% elif blacklisted|length > whitelisted|length %}
Available in
{{ whitelisted | join(', ') }} {% else %}
Blacklisted in
{{ blacklisted | join(', ') }} {% endif %}

More Actions
Info- and Endcards
{% for card in all_cards %} {# Note: no point in displaying the current channels's channel card #} {{ macros.typed_card(card) if not (card.type == 'CHANNEL' and card.content.channel_id == channel_id) }} {% endfor %} {{ macros.dummycard() }}

{% endblock %}