2012-09-12, 12:45
Hi!
I made a custom window that I call with XBMC.ActivateWindow(id) in keymap (FullscreenVideo).
This window can be called only when full-screen video is active. What I would like to do is that this window would close automatically when i exit full-screen video. Currently it stays visible.
I know it can be done inside xbmc code, but is there a way to close this window without touching xbmc code?
I tried to add <onunload>Dialog.Close(id)</onunload> to VideoFullScreen.xml, but it didn't work.
Any suggestions?
I made a custom window that I call with XBMC.ActivateWindow(id) in keymap (FullscreenVideo).
This window can be called only when full-screen video is active. What I would like to do is that this window would close automatically when i exit full-screen video. Currently it stays visible.
I know it can be done inside xbmc code, but is there a way to close this window without touching xbmc code?
I tried to add <onunload>Dialog.Close(id)</onunload> to VideoFullScreen.xml, but it didn't work.
Any suggestions?