Hello i'm a drupal begginner and i downloaded the Video.JS 7.x-3.x module, but when i try to configure it i get this message :
Fatal error: Class 'videojs_utility' not found in C:\wamp\www\theme\modules\videojs\includes\videojs.admin.inc on line 54

what i want to do is block the html5 video player progress bar so the user could not skip the video while playing and i really don't know if this module could help.
So if anyone has a solution please help me because i'm really stuck.

Thanks everyone =)

Comments

Diably’s picture

i have drupal 7

Jorrit’s picture

Have you tried clearing the Drupal cache at YOURSITE/admin/config/development/performance ?

Diably’s picture

Yes it worked !
Thank you very much for your help =)

Jorrit’s picture

Status: Active » Fixed

Great!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

millionleaves’s picture

Issue summary: View changes

I experienced this issue after upgrading from v2.3 to 3.0-alpha3 using Drush. I then could not run clear cache (or do anything) using Drush because of this error. Clearing cache via the site UI as described here did the trick. Mentioning it in case someone has a similar problem.

mibstar’s picture

I installed via drush and got:

drush en videojs
The following extensions will be enabled: videojs
Do you really want to continue? (y/n): y

Fatal error: Class 'videojs_utility' not found in /home/ubuntu/workspace/sites/all/modules/videojs/videojs.module on line 477

I get the same error when I try to clear the cache via both drush and as admin.

This is a clean install of videojs (7.x-3.0-alpha3) not an upgrade on Drupal 7.54.

Any ideas?

jaesperanza’s picture

Persistent error on Drupal 7.55, could not access admin UI to clear cache...

oinuma’s picture

I am doing the same thing.
The module don't load videojs_utility class when hook_libraries_info method.
Becouse we need to load videojs_utility.

function videojs_libraries_info() {
  $libraries = array();

  module_load_include('inc', 'videojs', 'includes/videojs.utility');
  $libraries['video-js'] = array(
...