{% extends "base.html.j2" %} {% import 'macros.imp.j2' as macros %} {% block title %}{{ title | e }} — {{ author | e }}{% endblock %} {% block content %} {% if video_url %}
{% if '/api/manifest/hls_variant/' in video_url %}{#todo: this is ugly!#} {% endif %}
{% 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
{{ thumbs_up | round(1) }}% 👍︎⁄👎︎ {{ thumbs_dn | round(1) }}%
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 %}
Blocked 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 %}