When ranking clips and viewing the results the twitch username
of the person who sent the clip is now visible. This name is the
username saved in the database and does not make an API call
to twitch servers using the user id. As a result, the twitch
username may be outdated.
- Implement Clip categories
- Display clip info more clearly
--- Who uploaded the clip
--- Clip comments
+-- Clip comments?
- Refresh tokens
{% extends 'base.html' %}
{% block content %}
<div id="group">
+ <h1>uploaded by: {{ video.account.username }}</h1>
<iframe
src="https://clips.twitch.tv/embed?clip={{ video.id }}&parent=localhost"
height="600"
width="1000"
- preload="auto"
+ preload="none"
allowfullscreen>
</iframe>
<div id="buttons">
<td>
<iframe
src="https://clips.twitch.tv/embed?clip={{ video.id }}&parent=localhost"
- height="180"
- width="320"
+ height="135"
+ width="240"
preload="none"
allowfullscreen>
</iframe>
+ <p class="name">{{ video.account.username }}</p>
</td>
{% endif %}
{% endfor %}
color: #DDD;
}
+#final-ranks {
+ padding-top: 3em;
+}
+
+#final-ranks p.name {
+ margin-top: 0;
+ display: flex;
+ justify-content: center;
+}