Detect click on HTML5 video fullscreen button

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 clic…

How to detect scrolling with jQuery

I often find tutorials on this topic that are either false or assume that you want to detect the whole page scrolling. Usually that’s not the case and you only want to detect a div’s scroll position. Create a div with overflow-x: auto; and a fixed height (not height: auto;). Now put this co…

Apollo 11: 45 Years later

On this day, 45 years ago, three brave men were landing on the moon. Nobody had done it before and nobody knew what would happen. They could’ve crashed, the engine could’ve failed, and the command module could’ve exploded like on Apollo 13. But thankfully nothing like that happened. T…