Indicate that video is live
This commit is contained in:
parent
b2f482f1fb
commit
d5e661dfd3
@ -318,6 +318,9 @@
|
|||||||
{%- if limited_state -%}
|
{%- if limited_state -%}
|
||||||
<li>Limited state</li>
|
<li>Limited state</li>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
{%- if live -%}
|
||||||
|
<li>Live</li>
|
||||||
|
{%- endif -%}
|
||||||
</ul>
|
</ul>
|
||||||
<address>Uploaded by <a href="{{ uploader_channel_url }}">{{ uploader }}</a></address>
|
<address>Uploaded by <a href="{{ uploader_channel_url }}">{{ uploader }}</a></address>
|
||||||
<span class="views">{{ view_count }} views</span>
|
<span class="views">{{ view_count }} views</span>
|
||||||
|
@ -450,6 +450,7 @@ def get_watch_page(video_id=None):
|
|||||||
unlisted = info['unlisted'],
|
unlisted = info['unlisted'],
|
||||||
limited_state = info['limited_state'],
|
limited_state = info['limited_state'],
|
||||||
age_restricted = info['age_restricted'],
|
age_restricted = info['age_restricted'],
|
||||||
|
live = info['live'],
|
||||||
playability_error = info['playability_error'],
|
playability_error = info['playability_error'],
|
||||||
|
|
||||||
allowed_countries = info['allowed_countries'],
|
allowed_countries = info['allowed_countries'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user