Add Twitch stream embed to channel detail template

This commit is contained in:
Joakim Hellsén 2026-02-12 05:17:41 +01:00
commit 486cd854fc
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk

View file

@ -10,6 +10,14 @@
Username: <code>{{ channel.name }}</code> Username: <code>{{ channel.name }}</code>
</p> </p>
{% endif %} {% endif %}
<!-- Twitch Stream Embed -->
<iframe src="https://player.twitch.tv/?channel={{ channel.name }}&parent={{ request.get_host }}&muted=false"
height="480"
width="100%"
allowfullscreen
style="max-width: 854px;
border: none">
</iframe>
<!-- Channel Info --> <!-- Channel Info -->
<p> <p>
<strong>Channel ID:</strong> {{ channel.twitch_id }} <strong>Channel ID:</strong> {{ channel.twitch_id }}