Kodi Community Forum

Full Version: Submit multiple URLs to video player
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Working on my very first addon. Smile

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!