非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。
msHorizontalMirror
is a read/write property which gets or sets whether a
视频
element is flipped horizontally in the display.
This proprietary property is specific to Internet Explorer and Microsoft Edge.
HTMLVideoElement.msHorizontalMirror: boolean;
Boolean value set to true flips the video playback horizontally.
Video perspective is flipped on a horizontal axis - this may be useful for playback of a webcam video, providing the user with better mirroring of their real behaviors (ie. when user moves left, their representation on-screen would move left as well).
var myVideo = document.getElementById("videoTag1");
myVideo.msHorizontalMirror = true;
myVideo.play();
Example #2:
var flip = document.querySelector('#flip');
flip.addEventListener('click', function() {
video.msHorizontalMirror = true;
});
HTMLVideoElement
msHorizontalMirror
msIsLayoutOptimalForPlayback
msIsStereo3D
msZoom
AbortController
AbortSignal
Attr
ByteString
CDATASection
CSSPrimitiveValue
CSSValue
CSSValueList
CharacterData
ChildNode
注释
CustomEvent
DOMConfiguration
DOMError
DOMErrorHandler
DOMException
DOMImplementation
DOMImplementationList
DOMImplementationRegistry
DOMImplementationSource
DOMLocator
DOMObject
DOMParser
DOMPoint
DOMPointInit
DOMPointReadOnly
DOMRect
DOMString
DOMTimeStamp
DOMTokenList
DOMUserData
Document
DocumentFragment
DocumentType
元素
ElementTraversal
Entity
EntityReference
事件
EventTarget
HTMLCollection
MutationObserver
节点
NodeFilter
NodeIterator
NodeList
NonDocumentTypeChildNode
ProcessingInstruction
PromiseResolver
范围
文本
TextDecoder
TextEncoder
TimeRanges
TreeWalker
TypeInfo
USVString
UserDataHandler