JW Player Textmark Plugin

JW Player is a solid video player that is very simple to setup and use. One of my projects in the past required that I add text overlays on top of the Flash videos that were being played. This is not quite the same as a watermark that is burned into the video itself. It is merely a way to add dynamic text on top of the video without needing to re-encode it. I've developed a plugin called Textmark that will allow for text to be overlaid on top of a video.

Escaping characters to get a valid jQuery id

jQuery is a very powerful javascript library that I use all the time. For the most part, I find that it's simple to use, yet easy enough to do very advanced things. Anyone who has used jQuery knows that you can do quite a lot with selectors. One of the caveats that I run into often is using a selector for a DOM element that contains special characters. jQuery requires many characters to be escaped in the selector in order to function properly. The problem here is that jQuery doesn't offer a function that will escape your selector value for you. I've created such a function here:

PHP array of American states

I've recently been tasked with creating a US state selection box. Here is a PHP array that I used to generate the html select box. I hope it will save others some time:

TotalCalendar 3.0 currently in development

Development for TotalCalendar 3.0 has started.  It actually started a LONG time ago.  However, I recently decided to do a complete rewrite from the ground up.  The new version is being designed for speed and efficiency.  So far it's off to a great start.  There are a few main goals for the new version:

Extract an image frame from a video using PHP and ffmpeg

Have you ever needed to grab a still frame from a video clip and display it as a thumbnail image on your website?  This process can be pretty simple with the right tools.  I've run into several situations when I've needed to extract frames of a video and display it as a thumbnail inside a page.

Requirements:

Webserver running PHP
ffmpeg installed on server (this post will not cover the installation process)

PHP Code:

Subscribe to totaldev.com RSS