Skip to content

Latest commit

 

History

History
executable file
·
15 lines (11 loc) · 651 Bytes

videoCSS.md

File metadata and controls

executable file
·
15 lines (11 loc) · 651 Bytes

<video> CSS

The plugin places a native UIView on top of all those HTML <video> elements in which a WebRTC MediaStream has been attached.

The plugin inspects the CSS properties of the <video> element and uses them to make the video UIView behave similary.

Supported CSS properties are:

  • display
  • opacity
  • visibility
  • padding
  • z-index: Useful to place a video on top of another video.
  • object-fit
  • -webkit-transform: scaleX(-1): Useful for horizontal mirror effect.