Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have got this error
Notice: Undefined offset: 0 in template_preprocess_videojs() (line 79 of /hsphere/local/home/............/sites/all/modules/videojs/includes/videojs.theme.inc).
Comments
Comment #1
Taiger CreditAttribution: Taiger commentedYou need to download the videojs library from http://videojs.com/
Then add the path to Configuration > MediaVideoJS Settings (admin/config/media/videojs).
This module needs to provide a helpful error message. Initially I was stumped as well.
It would be be nice if this module downloaded the library when installing it with drush. Here is an example, maybe it will help :)
http://drupal.org/node/1231378
Comment #2
jordiserra CreditAttribution: jordiserra commentedI have the library installed in the correct path, but the error persists.
Comment #3
kaizerking CreditAttribution: kaizerking commentedThis patch worked for me,Error in videojs.theme.inc
You can try by applying those patches
Comment #4
bradjones1This appears to be a duplicate of #1123906: Error in videojs.theme.inc, where there is some substantive dev taking place.