diff --git a/airtime_mvc/application/models/StoredFile.php b/airtime_mvc/application/models/StoredFile.php index 7c541a45c..184870d73 100644 --- a/airtime_mvc/application/models/StoredFile.php +++ b/airtime_mvc/application/models/StoredFile.php @@ -661,7 +661,9 @@ Logging::log("getting media! - 2"); if($type == "au" && isset( $audioResults )) { $audioFile = $audioResults[$row['id']-1]['gunid'].".".pathinfo($audioResults[$row['id']-1]['filepath'], PATHINFO_EXTENSION); - $row['image'] = ''; + $row['image'] = ' + '; } else { diff --git a/airtime_mvc/public/js/airtime/library/preview_jplayer.js b/airtime_mvc/public/js/airtime/library/preview_jplayer.js index ed48c6328..7141e1a45 100644 --- a/airtime_mvc/public/js/airtime/library/preview_jplayer.js +++ b/airtime_mvc/public/js/airtime/library/preview_jplayer.js @@ -41,8 +41,6 @@ $(document).ready(function(){ }); function play(filename){ - console.log("in the play function! "+filename); - var uri = "/api/get-media/file/" + filename; var ext = getFileExt(filename); @@ -69,5 +67,6 @@ function play(filename){ cssSelectorAncestor: '#jp_container_1', wmode: "window" }); + $this.focus(); }