Update listen_now MACRO
The ability to download and play the episode is being moved up in the episode description. Display content in a more condensed form.
This commit is contained in:
parent
24c2f9044e
commit
a9c4388cb0
@ -1,16 +1,12 @@
|
||||
<!--% MACRO listen_now(episode, episode_type, baseurl, media_baseurl) BLOCK %-->
|
||||
<h2>Listen Now</h2>
|
||||
<p>Duration: <!--% display_episode_duration(episode.duration) %--></p>
|
||||
<!--% PROCESS 'shared-episode-summary.tpl.html' %-->
|
||||
|
||||
<!--% MACRO listen_now(episode, episode_type, baseurl, media_baseurl, hide_duration) BLOCK %-->
|
||||
<p><!--% display_listen_in(episode.id, episode_type) %--> Play now:<br>
|
||||
<audio controls preload="none">
|
||||
<source src="<!--% media_path(episode.id, episode_type, 'ogg', baseurl, media_baseurl) %-->" type="audio/ogg" >
|
||||
<source src="<!--% media_path(episode.id, episode_type, 'mp3', baseurl, media_baseurl) %-->" type="audio/mpeg" >
|
||||
</audio>
|
||||
<ul>
|
||||
<!--% IF episode_type != "twat" %-->
|
||||
<li>ogg: <a href="<!--% media_path(episode.id, episode_type, 'ogg', baseurl, media_baseurl) %-->"><!--% media_path(episode.id, episode_type, 'ogg', baseurl, media_baseurl) %--></a></li>
|
||||
<li>spx: <a href="<!--% media_path(episode.id, episode_type, 'spx', baseurl, media_baseurl) %-->"><!--% media_path(episode.id, episode_type, 'spx', baseurl, media_baseurl) %--></a></li>
|
||||
<!--% END %-->
|
||||
<li>mp3: <a href="<!--% media_path(episode.id, episode_type, 'mp3', baseurl, media_baseurl) %-->"><!--% media_path(episode.id, episode_type, 'mp3', baseurl, media_baseurl) %--></a></li>
|
||||
</ul>
|
||||
<!--% IF !hide_duration %--><br>
|
||||
Duration: <!--% display_episode_duration(episode.duration) %--><!--% END %--></p>
|
||||
<!--% END %-->
|
||||
|
||||
|
Reference in New Issue
Block a user