Video CCK
EDIT: Don't use Video CCK, as it's been deprecated. Use Embedded Media Field instead. And for local videos, I suggest the File Field and jQuery Media combo, though there are other solutions as well.
The Video CCK module is nearing maturity. It's been in a beta for a couple of months, but I didn't realize this group existed before today, so am only now making an announcement here.
The Video CCK module provides a new field for content types that will automatically parse a url or embedded code for a supported 3rd party video, and use the discovered video code to display the appropriate video, preview, or thumbnail. Currently supported services are YouTube, Google Video, Brightcove, JumpCut, MetaCafe, MySpace, Revver, and Sevenload. More are planned to be supported (such as Blip.TV, which is currently in the works). Thumbnail support is not yet available for all the services, but development is active.
Basically, after setting up a new field, you'll just need to paste the URL or embed code of whatever video you want to post, and the module will automatically determine which provider to use, and display the appropriate video. Because it is integrated with CCK and Views, you have the full power of those modules behind it as well.
You can see a demonstration of the module at Drupal Hub. It is also live at It's Your Nature | NRDC.
Feel free to help debug and develop the module. There's an active issues queue that other developers and I are working through to get the module ready for release.
Aaron Winborn
Advomatic, Web Design for Progressive Advocacy, Grassroots Movements, and Really Cool Causes


Heya Aaron
Heya Aaron
I'm interested in any embedding modules in this forum and in Flash player integration through SWF Tools.
Can you talk through the differences between Video and Video CCK (other than the ffmpeg stuff of course, unless this is what you mean by thumbnailing).
Also, I'm interested in what is different about 3rd-party video services vs 3rd party services like flickr and I guess radio station services.
Thanks
.s
Looking further, one thing I
Looking further, one thing I really like is that you're attempting to be comprehensive and cover all 3rd-party video embedding services, rather than just the youtube service, or just the googlevideo service.
Online radio like Last.fm
I've been playing around with the embeddable players from Last.fm. You can see some examples on these test pages:
http://drupal.pepperalleyproductions.com/alpha2/
http://drupal.pepperalleyproductions.com/alpha2/media/radio
This site also has some great examples of embeddable players/widgets:
http://www.programmableweb.com/mashup/foxytunes-planet
http://www.foxytunes.com/artist/frank_zappa
Being able to provide this type of integration in drupal would open up all sorts of amazing possibilites!
Gus Austin
PepperAlley Productions
Video CCK vs. Video
The first link you sent doesn't go anywhere. Is it perhaps the incorrect node nid?
Video CCK only provides support for third party video providers. It's not meant to supplant the Video module's uploaded video file features, but I believe it makes handling third party video much, much easier. Plus, it's a field, so you can add it to other content types. At this point, I am not going to try to make Video CCK the do-everything module (except as noted with 3rd party providers); the Video module is an excellent module for uploaded videos, and I don't want to duplicate the great work that's already gone into that.
Basically, as an editor, when submitting node content, you'll get a text field for your video. You paste the URL or embed code of the video you want to embed in your post, and Video CCK will automagically figure out where the video came from and display it properly.
As an administrator, you have 1) a main setting screen, where you can globally turn off certain providers (for instance if you only want to support YouTube or Revver videos), and 2) when setting up node types, you can further pare down the list for a specific type. Since it's fully integrated with CCK, you have all the features you'd expect, such as multiple videos and the power of Views behind it. For instance, as I currently have set up at Drupal Hub, there's a block that shows thumbnails, with a link to 'more videos' that shows preview size videos, and when clicking on a thumbnail or link to the node, you get a super-sized video that autoplays.
From the developer's stand point, I've tried to make the module easily extendible. Firstly, each provider is set up as an .inc file, and the module only loads them as needed (so it will load only the .inc file needed when displaying a video, and only load the rest of them up on one or two admin screens). Some of the providers (such as YouTube and Blip.TV) require XML calls to the third party API, so the module caches those calls to keep things fast. Finally, everything is built up with documented hooks, to make it easy to add a new provider. (It takes me about 20 minutes to set up a new provider, except when there are tricky API calls or something to figure out. And even the XML calls have hooks to make that easier as well.) About the hardest part is figuring out the proper regex magic to parse out the video code, and yes, there's a hook for that as well (just pass your regex expressions in an array). It's all themeable, too, of course.
Image and radio/audio stuff is out of the scope of this module, but I did earlier create the Flickr CCK module, which inspired some of the ideas for this. So I guess the logical next step would be to take the engine of this module and modify it to work with the other content types.
Hope that answers some of your questions.
Aaron Winborn
Advomatic, Web Design for Progressive Advocacy, Grassroots Movements, and Really Cool Causes
Thanks for going into depth,
Thanks for going into depth, it's good to get an understanding of your goals with the module, and so on.
The bad link should be to the embedding forum, although it's not very busy there. I've started to summarize all the related modules in this "modules that embed" article. There are a lot of really good modules with different angles that I wasn't even aware of when I started coding in this area.
If you have any thoughts to add to that page, please do.
Players
Here's a page of player resources that I recently put together.
http://tools.ourmedia.org/blog/markus_sandy/media_players
--
Markus Sandy
tools.ourmedia.org
Great resource list!
Great resource list! Thanks.
Aaron Winborn
Advomatic, Web Design for Progressive Advocacy, Grassroots Movements, and Really Cool Causes
Video CCK nearly ready for release
The Video CCK module is just about done. Thumbnails, when provided, are sizable now. Thumbnails and autoplay are working for a good number of the providers, and I hope to get the rest up soon. Added iFilm, SevenLoad, and Blip.TV to the list.
When installed, you can see a list of provider-specific 'supported features' on the settings page at /admin/content/video_cck. (I guess I should compile that into an online list as well.)
My next steps: add more providers, finish up thumbnail/autoplay support, maybe add a few bells & whistles to providers that offer something unique, write a tutorial.
If you want to help with any of that, or troubleshooting or bug-fixing so we can get it ready for a 1.0 release, jump into the Issues Board. (Thanks to all the folks already working hard towards that!)
Aaron Winborn
Advomatic, Web Design for Progressive Advocacy, Grassroots Movements, and Really Cool Causes
Lot's changed in the past year
I just came across this post, which someone just pointed me to. Everyone hopefully already knows by now, but I just edited the post to reflect that Video CCK has long been deprecated, replaced with Embedded Media Field. Also, because I get asked a lot, for local video, I suggest the File Field + jQuery Media combo. Maybe hooked up with Media Mover.
Aaron Winborn
Drupal Multimedia (my book, coming in September!)
AaronWinborn.com (my blog)
Advomatic (my work)
File Field + jQuery Media Screencast
For those who want to learn how to use File Field + jQuery Media, check out the the awesome screencast by Sean Effel of Drupal Therapy.
Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology