Lightbox with QuickTime
Edited 2/11/2007: I removed the custom Lightbox JavaScript include from my WP theme because it was inactivating certain edit functions with the WP admin. The code all still works as I describe it, it's just not running on my site.
I just finished tweaking this in preparation for Claire and Whit leaving the country and starting their blog. Whit hopes to film, edit, and post throughout the half-year they'll be gone. Embedding QuickTime in a WordPress is clumsy and Whit and I both hate watching a movie in-browser with a gray background.
I started with Tim Morgan's Lightbox with Iframes, as developed from Lokesh Dhakar's Lightbox2. I made a few minor changes to the pertinent JavaScript and CSS and wrote a PHP file to embed a custom movie based on a URL parameter. I make a link like so:
<a rel="lightbox"
title="Little Scott"
href="/movie.php?mov=/whit/Little_Scott.mov" >
Little Scott
</a>
and JavaScript and CSS do the rest. Fantastic!
From drew
Commented November 7th, 2006 1:15 am
Unfortunately, the Lightbox JavaScript I am using somehow clobbers TinyMCE's function to load the rich text editing buttons in the default WordPress post editor. But not when you write a new post. Only if you have an existing post and you want to edit it. Because that makes SO much sense.
From Ryan
Commented November 22nd, 2006 2:22 pm
Awesome script!! Can I get the source email to me...i'd greatly appreciate it!!
Thx!
From mike
Commented December 5th, 2006 3:55 pm
would you be able to show us what you did? I'm having all kinds of problems figuring it out...thanks
From Jason
Commented December 16th, 2006 10:45 am
Are you sharing this anywhere? I'm not a programmer and would have fits trying to figure out how to edit the code and also creating a php file...it would be glorious for you to share this wisdom!