PictureInPictureWindow Class
The floating window that shows a video in Picture-in-Picture (https://w3c.github.io/picture-in-picture/#pictureinpicturewindow): its size while it is open, 0×0 once it is closed.
public sealed class PictureInPictureWindow : EventTarget- Inheritance
EventTargetPictureInPictureWindow
Properties
| Name | Description |
|---|---|
| Height | Gets the height of the window in CSS pixels, or 0 when it is closed. |
| OnResize | Gets or sets the handler of the resize event, fired when the size of the window changes. |
| Width | Gets the width of the window in CSS pixels, or 0 when it is closed. |
Height
PictureInPicture.csGets the height of the window in CSS pixels, or 0 when it is closed.
public int Height { get; }Property value
See also
OnResize
PictureInPicture.csGets or sets the handler of the resize event, fired when the size of the window changes.
Width
PictureInPicture.csGets the width of the window in CSS pixels, or 0 when it is closed.
public int Width { get; }