pense-bête de bruno sanchiz

Accueil > Programmation > Html Css Javascript... > html5 - < video > < /video >

html5 - < video > < /video >

Publié le 14 janvier 2018, dernière mise-à-jour le 9 janvier 2023.

<video>
https://www.w3schools.com/html/html5_video.asp

Tag Description

  • video Defines a video or movie
  • source Defines multiple media resources for media elements, such as <video> and <audio>
  • track Defines text tracks in media players

<track>
Attribute Value Description

  • default : Specifies that the track is to be enabled if the user’s preferences do not indicate that another track would be more appropriate
  • kind : Specifies the kind of text track
    • captions
    • chapters
    • descriptions
    • metadata
    • subtitles
  • label text Specifies the title of the text track
  • src URL Required. Specifies the URL of the track file
  • srclang language_code Specifies the language of the track text data (required if kind="subtitles")

on peut rajouter ça si on n’a pas le bon format :

fichier vtt :
http://html5doctor.com/video-subtitling-and-webvtt/#contents


DOCS
http://html5doctor.com/video-subtitling-and-webvtt/#contents
https://openclassrooms.com/courses/apprenez-a-creer-votre-site-web-avec-html5-et-css3/creer-des-liens
https://stackoverflow.com/questions/15422592/html5-audio-to-reload-file
https://stackoverflow.com/questions/25821915/how-to-force-the-html5-audio-tag-to-reload-a-changing-file
https://stackoverflow.com/questions/4129674/does-html5-video-playback-support-the-avi-format#4129708
https://www.html5rocks.com/en/tutorials/video/basics/
https://www.htmlgoodies.com/html5/client/how-to-embed-video-using-html5.html
https://www.w3schools.com/html/html5_audio.asp
https://www.w3schools.com/html/html5_video.asp
https://www.w3schools.com/tags/tag_video.asp

[bruno sanchiz]