Hi!

I'm just starting to get into Drupal and so far I really like what I see. It looks like a bit of a learning curve but I think that the balance of flexibility and easy of use is about where I like it. I wonder if someone can help me with a question?

I'm trying to create a website to showcase videos. I want to have each video available in quicktime, windows media, mpeg-1, and flash. The user should be able to choose which of these formats he wants, and a cookie will be set so that each time he goes to a new node, it will default to his preferred format. Each of these formats would probably have a low-bandwidth and high-bandwidth file, too, for a total of 8.

So obviously I don't want a new node for each of these, because that would be a mess. Is there an obvious way to handle it?

Here's what I've come up with:

Host an image gallery with Acidfree. Each image is the thumbnail to a video. Then, in the text area of the node, insert PHP code that gets the cookie from the browser if it exists and displays either the user's preferred video or else the default video. But I can't figure out how to access the filename of the image in the current node from the PHP environment.

On my site, each video has a unique name. For example, video1.mov, video1.wmv, and video1.jpg all reference the same video, just different formats (with video1.jpg being the thumbnail). Within the text area of a node I basically want to embed the video file by getting the name of the image that the node was created for, and then appending the correct format (.mov, .wmv, etc).

Does that make any sense at all? Or is there an easier, more-obvious way of doing this?

Thank you very much.