freshplayerplugin icon indicating copy to clipboard operation
freshplayerplugin copied to clipboard

Fullscreen showing very small window

Open Anntoin opened this issue 6 years ago • 5 comments

Hi,

I'm having a similar issue to that described here: https://github.com/i-rinat/freshplayerplugin/issues/350

When trying to maximize a video to fullscreen a very small window displays by the cursor and that's it.

I'm using Kodi in standalone mode on arch.

I'm guessing Kodi doesn't respond to the wm hints that are set to maximize the window after creation. I was thinking this should work if the dimensions are specified in freshplayer.conf but this doesn't appear to effect the window size.

Appreciate any tips

Anntoin avatar Jun 12 '18 19:06 Anntoin

How do you use web browser in Kodi? I've managed to start kodi-standalone under Xephyr (which turned out to be slooooooow, about 1 fps or less). But I can't find a browser there. There is a Web Viewer addon, but it only displays text, and doesn't try to render HTML at all, let alone Flash.

i-rinat avatar Jun 12 '18 21:06 i-rinat

I'm using the 'advanced emulator launcher' plugin to launch browsers in Kodi. You can configure a launcher with arguments, e.g. /use/bin/firefox --width 1920 --height 1080 www.netflix.com

It's a fairly bare bones Arch install, this provides the systemd unit for kodi-standalone https://aur.archlinux.org/packages/kodi-standalone-service/

Anntoin avatar Jun 12 '18 23:06 Anntoin

I think the only way is to add a configuration option that forces fullscreen window position. I'll take a look.

i-rinat avatar Jun 13 '18 21:06 i-rinat

I've just pushed https://github.com/i-rinat/freshplayerplugin/commit/2f9b5ccb1fb3c82d483dcbf797f09e822b0ae8c9 to the master branch. It doesn't detect non-WM mode automatically, but there is new configuration file option, fullscreen_window_geometry. Try to set it to "0,0,1920,1080". As you can guess, that's for 1920 by 1080 window at the top left corner of the screen.

i-rinat avatar Jun 15 '18 23:06 i-rinat

Thank you!!! :champagne: :clinking_glasses:

Just tested and with that option it works a treat :smiley:

Anntoin avatar Jun 16 '18 20:06 Anntoin