onMSVideoOptimalLayoutChanged | onMSVideoOptimalLayoutChanged event

Occurs when the msIsLayoutOptimalForPlayback state changes.

Internet Explorer 10



HTML Attribute <element onMSVideoOptimalLayoutChanged = "handler(event)">
Event Property object.onMSVideoOptimalLayoutChanged = handler;
attachEvent Method object.attachEvent("onMSVideoOptimalLayoutChanged", handler)
addEventListener Method object.addEventListener("", handler, useCapture)


Event information

Synchronous No
Bubbles No
Cancelable No


Event handler parameters

  • oHandler [in]
    Type: Function

    Event handler function.


When msIsLayoutOptimalForPlayback is true, video playback typically has better performance and typically uses less battery power.

To enable Stereo 3D playback, msIsLayoutOptimalForPlayback must be true.

For msIsLayoutOptimalForPlayback to be true, avoid the following:

  • Video elements with Cascading Style Sheets (CSS) outlines set.
  • Rendering a video element through a canvas.
  • Embedding video elements in a Scalable Vector Graphics (SVG).

See also