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

154
Visualizações
List of Supported MIME Types for Clipboard "write"

My application generates a video file using the MediaRecorder api, of type video/webm.

I'm trying to copy this file to the clipboard by:

const item = new ClipboardItem({['video/webm']: blob});
await navigator.clipboard.write([item]);

However I get the following error:

ERROR DOMException: Type video/webm not supported on write.

What MIME types are supported for clipboard.write? Is there any video MIME type supported?

On Safari (Webkit), there are four supported: https://webkit.org/blog/10855/async-clipboard-api/

  • "text/plain"
  • "text/html"
  • "text/uri-list"
  • "image/png"
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

In Chromium, the following MIME types are supported:

  • text/plain
  • text/html
  • image/png

Source: ClipboardWriter::IsValidType

This tracking bug tracks support for more formats.


Currently, there is a proposal to allow custom MIME Types: Pickling for Async Clipboard API

about 4 years ago · Juan Pablo Isaza Relatório
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