Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

146
Visualizações
Setting video src as blob from getUserMedia in Safari not working

I'm trying to allow users to record a video of themselves, and then show a preview of the video. The problem seems to be, that setting the src of the preview video element to the blob doesn't work in Safari like it does in Chrome and Firefox.

Is this possible at all, or is there maybe another way I could go about doing this without uploading the video to the server first?

Here's how I'm setting the src attribute, which like I said works in Firefox and Chrome:

let blob = new Blob(this.chunks, { type: 'video/webm' });
this.videoPlaceholder.src = URL.createObjectURL(blob);

I tried to create a source element in the video tag with the blob as the src attribute, calling .load() on the video element, and a couple other solutions, but nothing seems to be working.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda