Created
March 13, 2013 19:16
-
-
Save tofumatt/5155187 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('tpl!templates/player.ejs', function() {return function(obj) { var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push(''); if (episode.id) { ; __p.push(' '); if (blobURL) { ; __p.push(' '); if (!softwareDecode) { ; __p.push(' <audio id="audio" src="', blobURL ,'" episode="', episode.get('id') ,'" autoload></audio> <div id="time-info"> <span id="time-elapsed"></span> <span id="time-remaining"></span> <progress id="audio-progress"></progress> </div> '); } ; __p.push(' <a id="play-pause" href="#play-pause" data-paused="1" class="paused"><span class="hide">', l('Play/Pause') ,'</span></a> '); } ; __p.push(' <h2 class="podcast-title hide">', episode.podcast().get('name') ,'</h2> <h3 class="episode-title">', episode.get('title') ,'</h3> '); if (!!episode.get('description')) { ; __p.push(' <p class="description">', episode.get('description') ,'</p> '); } ; __p.push(''); } else { ; __p.push(' <h2 class="title">', l('Nothing playing') ,'</h2>'); } ; __p.push('');}return __p.join('');}}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment