msIsLayoutOptimalForPlayback property

1 out of 2 rated this helpful - Rate this topic

Indicates whether the video can be rendered more efficiently.

This property is read-only.

Syntax

JavaScript
ptr = object.msIsLayoutOptimalForPlayback

Property values

Type: boolean

True indicates that video can be render more optimally; otherwise, false.

Remarks

True indicates that video can be render more optimally; otherwise, false.

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

You can listen to the onMSVideoOptimalLayoutChanged event to be notified when the msIsLayoutOptimalForPlayback property changes.

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 element.
  • Embedding video elements in a Scalable Vector Graphics (SVG).

See also

onMSVideoOptimalLayoutChanged

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.