EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

msIsLayoutOptimalForPlayback property

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

 

 

Afficher:
© 2014 Microsoft. Tous droits réservés.