--- title: 'HTMLMediaElement: durationchange' slug: Web/API/HTMLMediaElement/durationchange_event translation_of: Web/API/HTMLMediaElement/durationchange_event ---

L'évènement durationchange est déclenché quand l'attribut de durée est mis à jour.

Informations générales

Spécification
HTML5 media
Interface
{{domxref("Event")}}
Propagation
Non
Annulable
Non
Cible
{{domxref("Element")}}
Default Action
Aucune.

Propriétés

Property Type Description
target {{readonlyInline}} {{domxref("EventTarget")}} The event target (the topmost target in the DOM tree).
type {{readonlyInline}} {{domxref("DOMString")}} The type of event.
bubbles {{readonlyInline}} {{jsxref("Boolean")}} Whether the event normally bubbles or not.
cancelable {{readonlyInline}} {{jsxref("Boolean")}} Whether the event is cancellable or not.

Evénements liés