Adding video using Filefield + jQuery Media
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.






Comments
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?
Add new comment