{% extends "base.html" %} {% block title %}{{ item.title }}{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
{% if external_embed %}
{% elif item.media_type == 'video' %}
{% else %}
{% if item.thumbnail %}{{ item.title }} {% else %}{% endif %}
{{ item.title }}
{% if item.collection %}
{{ item.collection.title }}
{% endif %}
{% endif %}

{{ item.title }}

{{ item.get_access_display }} {{ item.get_media_type_display }} · {{ item.get_subtype_display }} {% if item.duration_display %} · {{ item.duration_display }}{% endif %} {% if item.year %} · {{ item.year }}{% endif %} {% if item.language %} · {{ item.language }}{% endif %}
{% if item.collection %}
{{ item.collection.title }} {% if item.season %} › {{ item.season.display_title }}{% endif %} {% if item.episode_number %} › Episode {{ item.episode_number }}{% endif %}
{% endif %} {% if item.description %}

{{ item.description }}

{% endif %} {% if item.tags %}
{% for tag in item.tags.split %} #{{ tag }} {% endfor %}
{% endif %} {% if request.user.is_authenticated and request.user.profile.role in 'system_admin super_admin admin' %}
Embed Code
<iframe src="{{ request.scheme }}://{{ request.get_host }}/stream/embed/{{ item.pk }}/" width="100%" style="aspect-ratio:16/9;border:none;border-radius:8px" allowfullscreen></iframe>
{% endif %}
{% if related %}

{% if item.collection %}More from {{ item.collection.title }}{% else %}Related{% endif %}

{% for r in related %}
{% if r.thumbnail %} {% else %}{% endif %}
{% endfor %}
{% endif %}
{% endblock %}