2021-01-10, 12:13
Working on my very first addon.
I am playing a video through my addon by using a call to:
xbmc.Player().play(item=video_item)
It works (the video plays), but it plays in the background. That is, the user interface (video listing, etc.) is overlaid over the video. I can hide the UI by switching to fullscreen video playing (by pressing Tab), but obviously I would rather just start playing in fullscreen.
Do I need to make another call before or after the call to Player().play() ? Or am I using it incorrectly?
I noticed when I accidentally introduced an error earlier in the code, which triggered a notification, but still allowed the video to play, playback started in fullscreen.
Thanks in advance!
I am playing a video through my addon by using a call to:
xbmc.Player().play(item=video_item)
It works (the video plays), but it plays in the background. That is, the user interface (video listing, etc.) is overlaid over the video. I can hide the UI by switching to fullscreen video playing (by pressing Tab), but obviously I would rather just start playing in fullscreen.
Do I need to make another call before or after the call to Player().play() ? Or am I using it incorrectly?
I noticed when I accidentally introduced an error earlier in the code, which triggered a notification, but still allowed the video to play, playback started in fullscreen.
Thanks in advance!