Add Twitch stream embed to channel detail template
This commit is contained in:
parent
e2c0bb5e8d
commit
486cd854fc
1 changed files with 8 additions and 0 deletions
|
|
@ -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 }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue