I'm trying to switch over to VideoJS from SWF player on my site, but I get this error when I try to go to Site configuration > VideoJS, so the admin interface:

Fatal error: Call to undefined function filefield_get_field_list() in /....../public_html/theguitarlesson.com/sites/all/modules/videojs/includes/videojs.admin.inc on line 138

I have the module enabled, copied the JS library to the newly created libraries folder.

Also, I don't see the VideoJS javascript call in the source code either, so I'm thinking maybe the module didn't install at all?

Thanks for your help!


tom-h’s picture

I just noticed that under the Status report, Video.js 3.2.0 is checked, so I guess the module is installed, but everything from the original issue is still there.

Jorrit’s picture

Status: Active » Postponed (maintainer needs more info)

This strange: the videojs module requires the filefield module. filefield.module contains filefield_get_field_list(), so this error shouldn't occur. Do you have the filefield module?

tom-h’s picture

Yes I do, it is installed and activated, I use it in other parts of the site as well. It's an older version (6.x-3.0-alpha7) though, I'm not sure if that would cause any problems.

tom-h’s picture

Status: Postponed (maintainer needs more info) » Active

Changed status to active

Jorrit’s picture

I've taken a look at the code and you need at least 6.x-3.0 to get that function.

Jorrit’s picture

Status: Active » Closed (fixed)