IFCD0210/Practicas/Practicas HTML/Practica 13/parametros etiqueta video.txt
2023-11-29 13:43:04 +01:00

8 lines
719 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Los párametros que soporta <video> son:
- Controls > Añade una barra con controles (es diferente por cada navegador).
- Muted > Para quitar el audio al vídeo. Si queremos que se reproduzca un vídeo en autoplay en Chrome, tenemos que activar esta opción.
- Autoplay > Para que el vídeo empiece sin necesidad de darle al play.
- Loop > Para que se vuelva a reproducir cuando se acabe el vídeo.
- Preload > Puede tomar los valores auto (carga el vídeo cuando carga la web), none (viene bién cuando tenemos una videogalería) y metadata (carga sólamente los metadatas)
- Poster > Para añadir una imagen personalizada al inicio del vídeo.
- Width - Height > Para especificar el ancho y el alto del vídeo.