mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-21 18:36:31 +00:00
Music on Hold: Support multiple global categories. Support for changing moh domain. Support for managing additional stream parameters (shuffle, stereo, interval, chimes, custom moh paths, etc). Enhanced file system housekeeping.
Theme: Enhanced audio playback progress indicator. Added settings to control body icon normal/hover colors. VM Greetings: Updated to support new audio playback indicator (more apps to come shortly). Group Permissions: Prevent enter key submission on search field.
This commit is contained in:
@@ -239,7 +239,7 @@
|
||||
if (document.getElementById('recording_progress_bar_'+recording_id)) {
|
||||
document.getElementById('recording_progress_bar_'+recording_id).style.display='';
|
||||
}
|
||||
recording_audio = document.getElementById('recording_audio_'+recording_id)
|
||||
recording_audio = document.getElementById('recording_audio_'+recording_id);
|
||||
|
||||
if (recording_audio.paused) {
|
||||
recording_audio.volume = 1;
|
||||
@@ -252,7 +252,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
function recording_stop(recording_id) {
|
||||
recording_reset(recording_id);
|
||||
}
|
||||
|
||||
function recording_reset(recording_id) {
|
||||
recording_audio = document.getElementById('recording_audio_'+recording_id);
|
||||
recording_audio.pause();
|
||||
recording_audio.currentTime = 0;
|
||||
if (document.getElementById('recording_progress_bar_'+recording_id)) {
|
||||
document.getElementById('recording_progress_bar_'+recording_id).style.display='none';
|
||||
}
|
||||
@@ -266,7 +273,7 @@
|
||||
if (recording_audio.currentTime > 0) {
|
||||
value = (100 / recording_audio.duration) * recording_audio.currentTime;
|
||||
}
|
||||
recording_progress.style.width = value + "%";
|
||||
recording_progress.style.marginLeft = value + "%";
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user