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

118
Visualizações
Is it possible to use the File System Access API to play a video on the local file system via reference?

For context, I have a video player written in Electron that allows users to load video files from their local machine. It does this by setting the src of the file to a local file path. This "reference" to the file is required because video files often exceed 5gb in size.

I know using the File System Access API it is possible to grab a reference to a local file but using the file appears to require creating an object URL, for example:

const src = URL.createObjectURL(await fileHandle.getFile())

After testing, it seems that it is not possible to use videos larger than 2gb with this method.

Am I missing something obvious about the usage of the File System API? Would it be possible to use an alternative workaround with this (perhaps streaming the files contents somehow?)

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