SAAS-1156: Podcast episode playback and download from Radio Page
Switched from using muses to jplayer for playback
This commit is contained in:
parent
6683b712c4
commit
b95ccd46e7
6 changed files with 523 additions and 66 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue