2011-11-10, 17:17
I want to run the watchedlist script whenever a video is stopped so I added <onunload>RunScript(script.watchlist)</onunload> to the VideoFullScreen.xml thinking that would do the trick but the script fails to run.
This can easily be tested by adding <onunload>ReplaceWindow(Home)</onunload> instead and you'll see when stopping a video you wont be returned to the home screen. Changing it to <onload> however does work.
Bug or am I missing something?
Thanks.
This can easily be tested by adding <onunload>ReplaceWindow(Home)</onunload> instead and you'll see when stopping a video you wont be returned to the home screen. Changing it to <onload> however does work.
Bug or am I missing something?
Thanks.