vid:show-player
vid:show-player width height
Shows a player in a separate window. If there is no video source, the window will be an empty black frame. If there is an active video source, it will be displayed in the window with the specified width and height. If there is a playing video source, it will be displayed in the window at its specified width and height. If width and height are omitted, the video will be displayed in its native resolution.
Example with native resolution:
vid:show-player
Example with custom resolution:
(vid:show-player 640 480)
Errors:
- Message
"vid: invalid dimensions"
: The selected dimensions are invalid (one of the dimensions is zero or negative).
Take me to the full Vid Extension Dictionary