Add listening to and downloading of host M3U playlist
This commit is contained in:
@@ -30,6 +30,15 @@
|
||||
<div><label>profile:</label> <!--% this_host.profile %--></div>
|
||||
<p><label>episodes:</label> <strong><!--% hpr_show_count + twt_show_count %--></strong></p>
|
||||
</div>
|
||||
<div id="listen_to_shows">
|
||||
<p>Listen to the shows:<br>
|
||||
<script src="<!--% absolute_url(baseurl,'//scripts/m3u-player.js') %-->" defer="defer"></script>
|
||||
<audio controls src="<!--% absolute_url(baseurl,'//correspondents') %-->/<!--% zero_pad_left(this_host.hostid) %-->/playlist.m3u8" type="audio/x-mpegurl">
|
||||
Your browser does not support the HTML5 audio player.
|
||||
</audio>
|
||||
<noscript>Playback without Javascript needs native m3u-support.</noscript><br>
|
||||
<a href="<!--% absolute_url(baseurl,'//correspondents') %-->/<!--% zero_pad_left(this_host.hostid) %-->/playlist.m3u8">Download the playlist</a>.
|
||||
<p>
|
||||
</div>
|
||||
<div class="lane stack">
|
||||
<!--% FOREACH hpr_show IN hpr_shows; %-->
|
||||
|
||||
Reference in New Issue
Block a user