Launch and stop browser-hosted media for a Tk panel. More...
Inherits Protocol.
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 browser-hosted media for a Tk panel.
| bool frontends.tk.media.spotify_services_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. |