mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 10:53:50 +02:00
Just one more fix bro
This commit is contained in:
@@ -642,6 +642,13 @@ const formatSeconds = (seconds: number) => {
|
||||
return result;
|
||||
};
|
||||
|
||||
window.addEventListener('resize', () => {
|
||||
if (totalDuration) {
|
||||
updateProgressBarTime(getPlaybackTime());
|
||||
durationElement.textContent = formatSeconds(totalDuration);
|
||||
}
|
||||
});
|
||||
|
||||
/** === FILE SELECTION LOGIC === */
|
||||
|
||||
selectMediaButton.addEventListener('click', () => {
|
||||
|
||||
Reference in New Issue
Block a user