diff options
Diffstat (limited to 'apps/media/js/player.js')
-rw-r--r-- | apps/media/js/player.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/media/js/player.js b/apps/media/js/player.js index 2e910bc0d59..ebb8044598c 100644 --- a/apps/media/js/player.js +++ b/apps/media/js/player.js @@ -104,5 +104,12 @@ var PlayList={ PlayList.items.splice(index,1); PlayList.render(); }, - render:function(){} + render:function(){}, + playing:function(){ + if(!PlayList.player){ + return false; + }else{ + return !PlayList.player.data("jPlayer").status.paused; + } + } } |