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

336
Vistas
How can i hide a preview of a video in html

I am kinda trying to build my first website atm. I was trying to create a button that would start a video if it was pressed (that already works), but i don't want a preview of the video if the button wasn't pressed. How can i hide the video before the button is being pressed?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Put a style='display: none' attribute in the video tag element. And then, in the botton's click handler, insert this document.getElementById("your-video-element-id").style.display = 'block'; in order to make it visible.

For a similar example look here: https://www.w3schools.com/howto/howto_js_toggle_hide_show.asp

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