Skip to content

Commit

Permalink
[proposal view] Add video recording host hyperlinks.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayaddison committed Jun 17, 2024
1 parent 44d3296 commit f2516ce
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion templates/schedule/item.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,16 @@ <h4>Video</h4>
<iframe src="{{proposal.youtube_url|replace('youtube.com/watch?v=', 'youtube.com/embed/')}}"
width="100%" height="500px" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<p>View this video <a href="{{ proposal.youtube_url }}">on YouTube</a>.</p>
{% endif %}
<p>Direct links to the host(s) of this video recording can be found below:</p>
<ul>
{% if proposal.c3voc_url %}
<li>View this video <a href="{{ proposal.c3voc_url }}">on the Chaos Computer Club's website</a>.</li>
{% endif %}
{% if proposal.youtube_url %}
<li>View this video <a href="{{ proposal.youtube_url }}">on YouTube</a>.</li>
{% endif %}
</ul>
</div>
<p>&nbsp;</p>
{% endif %}
Expand Down

0 comments on commit f2516ce

Please sign in to comment.