Beware! This post is more than 3 years old, it may be outdated or incorrect! Please check elsewhere for accurate information!
I've been working on an app in Node-Webkit that plays video using the WebKit HTML5 video player. I wanted Fullscreen support, but sadly Node-Webkit doesn't support the official HTML5 Fullscreen API and instead uses a custom API.
I made a script that you can see below that detects if the click was made on the fullscreen button and calls the appropriate function that you define.
Please note that this only works on the WebKit HTML5 video player found only in Chrome, Chromium, Opera, Node-Webkit and similar Chrome-flavoured WebKit/Blink based browsers.
This post was last updated on July 28th, 2014.