Launch and stop a browser-hosted surface. More...
Public Member Functions | |
| bool | play (self, str target, *, str display, tuple[int, int]|None window_position=None, tuple[int, int]|None window_size=None) |
| Open a media target on the requested display. | |
| None | stop (self) |
| Stop the browser instance owned by this player. | |
Launch and stop a browser-hosted surface.
| bool ui.media.browser_player_if.BrowserMediaPlayerIf.play | ( | self, | |
| str | target, | ||
| * | , | ||
| str | display, | ||
| tuple[int, int] | None | window_position = None, | ||
| tuple[int, int] | None | window_size = None ) |
Open a media target on the requested display.
| target | Media URL or target understood by the browser-backed player. |
| display | X11 display on which the browser should be launched. |
| window_position | Optional x/y position for the browser window. |
| window_size | Optional width/height for the browser window. |