Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

255
Vistas
Is the file protocol faster than URL.createObjectURl()?

I want to display some image files and play some sounds files on the users' PCs. I have two solutions for that:

  • If the users open a .html file on their PCs, I can write something like <img src="file://.." />.
  • If I put these .html files on the server then I can only open these files with an input tag such as <input type="file"> and write something in js such as $("#img").attr("src", URL.createObjectURL(files[0]));.

Is the file protocol faster than URL.createObjectURL if the timing is important for me and why? Will the difference be large?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda