Przeglądaj źródła

CDR - Recording Playback: Fix seeking for chromium based browsers.

fusionate 10 miesięcy temu
rodzic
commit
6fc4f5e234
1 zmienionych plików z 4 dodań i 3 usunięć
  1. 4 3
      themes/default/template.php

+ 4 - 3
themes/default/template.php

@@ -802,9 +802,9 @@
 			if (recording_progress) {
 				recording_progress.style.marginLeft = value + '%';
 			}
-			if (recording_audio != null && parseInt(recording_audio.duration) > 30) { //seconds
-				clearInterval(audio_clock);
-			}
+			// if (recording_audio != null && parseInt(recording_audio.duration) > 30) { //seconds
+			// 	clearInterval(audio_clock);
+			// }
 		}
 
 		function recording_fast_forward() {
@@ -831,6 +831,7 @@
 				}
 				recording_audio.currentTime = (event.offsetX / audio_player.offsetWidth) * recording_audio.duration;
 				update_progress(recording_id_playing);
+				document.getElementById('recording_button_' + player_id).focus();
 			}
 		}