audio player auto hide after 15sec after pausing
This commit is contained in:
+1759
-57
File diff suppressed because it is too large
Load Diff
@@ -217,7 +217,7 @@
|
||||
_$body.removeClass('ajax-loading');
|
||||
};
|
||||
function onAjaxLoaded(data, state){
|
||||
console.log('ajax loaded : state', state);
|
||||
console.log('ajax loaded', state, data);
|
||||
// console.log(data);
|
||||
// reset all style may been added by other pages (like masonry for productions)
|
||||
// and replace all content with newly loaded
|
||||
@@ -891,6 +891,8 @@
|
||||
this.currentHistoricIndex = historic_index;
|
||||
}
|
||||
|
||||
// TODO: update language switcher for document url
|
||||
|
||||
// TODO: stop random player if playing from studio
|
||||
|
||||
this.emmit('audio-open-document', {caller:caller});
|
||||
@@ -1016,9 +1018,11 @@
|
||||
},
|
||||
togglePlayPause(e){
|
||||
if(this.audio.paused){
|
||||
this.audio.play();
|
||||
// this.audio.play();
|
||||
this.play();
|
||||
}else{
|
||||
this.audio.pause();
|
||||
// this.audio.pause();
|
||||
this.stop();
|
||||
}
|
||||
},
|
||||
stop(){
|
||||
|
||||
Reference in New Issue
Block a user