More work

This commit is contained in:
Vanilagy
2026-02-12 12:47:52 +01:00
parent 18d64ffb33
commit b2d00f84d8
12 changed files with 490 additions and 2 deletions
+5 -1
View File
@@ -4,6 +4,7 @@ import {
BlobSource,
CanvasSink,
Input,
registerDecoder,
UrlSource,
WrappedAudioBuffer,
WrappedCanvas,
@@ -69,6 +70,9 @@ let volumeMuted = false;
/** === INIT LOGIC === */
import { ProResDecoder } from '../../packages/prores-decoder/src/index.js';
registerDecoder(ProResDecoder);
const initMediaPlayer = async (resource: File | string) => {
try {
// First, dispose any ongoing playback:
@@ -189,7 +193,7 @@ const initMediaPlayer = async (resource: File | string) => {
if (audioContext.state === 'running') {
// Start playback automatically if the audio context permits
await play();
// await play();
}
loadingElement.style.display = 'none';