How to Reverse a Video
One of my favorite media utilities is ffmpeg. This command line utility allows us to do some pretty amazing stuff like;
Every once in a while I see a meme or funny video that reverses a video for effect. Since ffmpeg does just about everything I can imagine, I turned to it.
To reverse a video, use the following ffmpeg command:
ffmpeg -i my-video.mp4 -vf reverse my-video.mp4
Remember that you can simply change the video format via the output video's file extension, so you could export to anything from a webm to an animated GIF!
![Detect DOM Node Insertions with JavaScript and CSS Animations]()
I work with an awesome cast of developers at Mozilla, and one of them in Daniel Buchner. Daniel's shared with me an awesome strategy for detecting when nodes have been injected into a parent node without using the deprecated DOM Events API.
![CSS Animations Between Media Queries]()
CSS animations are right up there with sliced bread. CSS animations are efficient because they can be hardware accelerated, they require no JavaScript overhead, and they are composed of very little CSS code. Quite often we add CSS transforms to elements via CSS during...
![WordPress-Style Comment Controls Using MooTools or jQuery]()
WordPress has a nice little effect on the Admin Dashboard where it shows and hides the comment control links when you mouseover and mouseout of the record's container. Here's how to achieve that effect using MooTools or jQuery.
The XHTML
Notice that we place the links into...
![Duplicate DeSandro’s CSS Effect]()
I recently stumbled upon David DeSandro's website when I saw a tweet stating that someone had stolen/hotlinked his website design and code, and he decided to do the only logical thing to retaliate: use some simple JavaScript goodness to inject unicorns into their page.