mignified assets for prod

This commit is contained in:
2018-04-18 00:12:45 +02:00
parent e31f0c34a7
commit 86573ebbe9
4 changed files with 11 additions and 2888 deletions
@@ -646,7 +646,7 @@
this.fid;
this.audio = new Audio();
// audio events
this.audio_events = ["loadedmetadata","canplay","playing","pause","timeupdate","ended"];
this.audio_events = ["loadedmetadata","canplay","playing","pause","timeupdate","ended","error"];
// UI dom objects
this.$container = $('<div id="audio-player">');
@@ -769,7 +769,7 @@
},
// audio functions
setSRC(url){
// console.log('AudioPlayer setSRC : url', url);
console.log('AudioPlayer setSRC : url', url);
this.audio.src = url;
},
onLoadedmetadata(){
@@ -794,6 +794,9 @@
onCanplay(){
this.play();
},
onError(){
console.warn("Audio Error " + this.audio.error.code + "; details: " + this.audio.error.message);
},
play(){
this.clearTimeOutToHide();
this.audio.play();