非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。

msIsLayoutOptimalForPlayback is a read-only property which indicates whether the video can be rendered more efficiently.

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

句法

HTMLVideoElement.msIsLayoutOptimalForPlayback: DOMString;
					

Boolean value set to true indicates that video is being rendered optimally (better performance and using less battery power). If false , improvements can be made to optimize performance.

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).

You can listen to the onMSVideoOptimalLayoutChanged event to be notified when the msIsLayoutOptimalForPlayback 特性改变。

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

另请参阅

元数据

  • 最后修改: