---
title: HTMLVideoElement.onMSVideoFormatChanged
slug: Web/API/HTMLVideoElement/onMSVideoFormatChanged
tags:
  - onMsVideoFormatChanged
---
{{APIRef("DOM")}}

{{Non-standard_header()}}

**`onMSVideoFormatChanged`** is an event which occurs when the video format changes.

This proprietary property is specific to Internet Explorer and Microsoft Edge.

## Syntax

| Value                   | Description                                           |
| ----------------------- | ----------------------------------------------------- |
| Event Property          | object.onMSVideoFormatChanged = handler;              |
| attachEvent Method      | object.attachEvent("onMSVideoFormatChanged", handler) |
| addEventListener Method | object.addEventListener("", handler, useCapture)      |

## Event handler parameters

- val\[in], type=function

## See also

- [HTMLVideoElement](/en-US/docs/Web/API/HTMLVideoElement)
- [Microsoft API extensions](/en-US/docs/Web/API/Microsoft_Extensions)
