Open 0xAnthony opened 6 months ago
Hi, it looks like audio tags with base64 and blob src are not recorded.
Here is how I add dynamically the audio :
// Create blob const mimeType = 'audio/mpeg'; const blob = base64ToBlob(base64, mimeType); const audioUrl = URL.createObjectURL(blob); // Create <audio> element const audio = document.createElement('audio'); const source = document.createElement('source'); source.src = audioUrl; source.type = mimeType; // Add element to document audio.appendChild(source); document.body.appendChild(audio); audio.play(); // Dynamically stop & delete element setTimeout(() => { audio.pause(); document.body.removeChild(audio); URL.revokeObjectURL(audioUrl); }, duration);
Note : The Base64 are valid and this setup works if I just define audio.src to a remote mp3 file.
audio.src
Hi, it looks like audio tags with base64 and blob src are not recorded.
Here is how I add dynamically the audio :
Note : The Base64 are valid and this setup works if I just define
audio.src
to a remote mp3 file.