Commit 6b363048da1cceab0b90cf6e98233bc66823faf5
1 parent
aa61860a
add v
Showing
1 changed file
with
2 additions
and
0 deletions
src/js/audioPlayer/jQuery.AudioPlayer.js
| @@ -250,6 +250,8 @@ | @@ -250,6 +250,8 @@ | ||
| 250 | _this.elements.totalTime.html(minutes + ":" + (10 <= duration ? duration : "0" + duration)); | 250 | _this.elements.totalTime.html(minutes + ":" + (10 <= duration ? duration : "0" + duration)); |
| 251 | 251 | ||
| 252 | if(typeof _this.options.canplayCallback == 'function'){ | 252 | if(typeof _this.options.canplayCallback == 'function'){ |
| 253 | + _this.options.canplayCallback({'status': true}); | ||
| 254 | + }else{ | ||
| 253 | alert('canplayCallback') | 255 | alert('canplayCallback') |
| 254 | _this.options.canplayCallback({'status': true}); | 256 | _this.options.canplayCallback({'status': true}); |
| 255 | } | 257 | } |