SAAS-1156: Podcast episode playback and download from Radio Page

Switched from using muses to jplayer for playback
This commit is contained in:
drigato 2015-11-04 12:45:30 -05:00
parent 6683b712c4
commit b95ccd46e7
6 changed files with 523 additions and 66 deletions

View file

@ -209,15 +209,6 @@
}
};
MusesPlayer.prototype.playPodcastTrack = function(url, codec) {
this.setCodec(codec);
this.setURL(url);
musesPlayer.play();
if ($('.play').hasClass("pause") === false) {
$('.play').addClass("pause");
}
}
// detects errors in FLASH mode
function musesCallback(event,value) {
switch (event) {
@ -362,14 +353,6 @@
}
function detachStreamMetadataFromPlayer() {
clearTimeout(metadataTimer);
}
function attachFileMetadataToPlayer(artist, title) {
$("p.now_playing").html(artist+"<span>"+title+"</span>");
}
</script>