Adding video using Filefield + jQuery Media

filefield and jq media screencast

Here's an excellent way of adding videos to your contents, thanks to Sean Effel of drupaltherapy.com for providing the screencast.

I tested it on Drupal 6 and it works. If it doesn't sniff out the media link in content then i'm pretty sure you need to add the CSS class which reference it in the JQuery media config screen (under classes tab). It should usually match up with the filefield name you provided, ie, if you given it a name of filefield_video then your CSS class would be .filefield-video a

Remember to separate the CSS classes with a comma.

Trackback URL for this post:

http://duvien.com/trackback/175

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

warning message

Using a Drupal 6.4 installation I followed your tutorial. However when accessing the create content video I get this:

" warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/content/n/s/u/nsurround/html/modules/filefield/filefield.module on line 289. "

There is also no file upload area below the 'body'. I have tried various things to find the issue but to no avail.Maybe you can give me some clues. Thanks.

Which version of the modules

Which version of the modules are you using?

Updated:

I've installed the module for testing here

using:

Drupal 6.4
Filefield 6.x.3-alpha4
CCK 6.x-2.0-rc6
JQ 6.x-1.0
jQuery Media 6.x-1.4-beta1

NOTE: You're not seeing a file upload, perhaps you haven't selected 'file' in the widget option when creating a new content type?