Hi,
The image upload module is a very wild beast. I'm still working on it in between current projects. In fact (shameless plug coming), feel free to take a look at my new movie that just hits stores yesterday...
http://www.mixtapeinc.com. If you listen to rap music, then you'll appreciate it. If you don't, well the documentary will show you a side of the music business (shady side) that most people don't realize. I've been wrapped up in interviews for the last 2 weeks or so, so I've been unable to get this image upload to version 1 yet.
In either case, I actually took Simon's Video Display and turned it into a videobox module for a project we're working on. It basically shows a customizeable "Play Video" button (could also be text) based on the the link_url of the entry. If its a google video, youtube or myspace video link, it will show that button automatically. clicking that button will automatically open thickbox, show the video with the video's title (same as link_title) w/ the lightbox effect.
If anyone wants to see it in action, feel free to PM me. The code is not quite there yet (see below).
Many of these video sites offer a still of the thumbnail... unfortunately each site is different. For youtube, you have to get a dev api account. for google video, you have to send a URL request and then parse the xml that gets returned back. Haven't checked for myspace yet... i'm assuming the thumbnail is going to be a specific url which ends in the video id. however its done, the video thumbnail will need to be captured when the entry is submitted and the resulting file resized to fit your site's needs. I haven't put a lot of thought into it, but it will be relatively easy. Since you'll know the video site from the URL, you can write a custom routine to get the thumbnail, resize it, and store it.
There's probably about 6-9 major video sites I'll get this thing to support. Thumbnailing will all depend on the video site. For those that don't offer thumbnails, it will use a generic video still image.
Best,
Cent
Quote:
Originally Posted by tbones Maybe it can be merged with centīs image upload module. Would be great! |