Compartilhar via


msHorizontalMirror property

Gets or sets whether a video element is flipped horizontally in the display.

This property is read/write.

Internet Explorer 10

 

Syntax

   <script type="text/javascript">
       var myVideo = document.getElementById("videoTag1");
       myVideo.msHorizontalMirror = true;
       myVideo.play();
   </script>

Property values

Type: boolean

When true, the video playback is flipped horizontally.

Remarks

msHorizontalMirror can be useful when you view a webcam preview, because it makes the image move left or right with you, as in a mirror. Otherwise, the image on a webcam moves in the opposite direction from your movement.

See also

How to mirror video