Getting the following error on pages using VideoJS

Notice: Undefined index: poster in template_preprocess_videojs() (line 77 of /var/aegir/platforms/nexus-7.1.0.2/sites/cascadetek.iamanoutlier.com/modules/videojs/includes/videojs.theme.inc).
Notice: Undefined variable: poster in include() (line 5 of /var/aegir/platforms/nexus-7.1.0.2/sites/cascadetek.iamanoutlier.com/modules/videojs/theme/videojs.tpl.php).
Notice: Undefined variable: poster in include() (line 19 of /var/aegir/platforms/nexus-7.1.0.2/sites/cascadetek.iamanoutlier.com/modules/videojs/theme/videojs.tpl.php).
Notice: Undefined variable: poster in include() (line 28 of /var/aegir/platforms/nexus-7.1.0.2/sites/cascadetek.iamanoutlier.com/modules/videojs/theme/videojs.tpl.php).
Notice: Undefined variable: poster in include() (line 31 of /var/aegir/platforms/nexus-7.1.0.2/sites/cascadetek.iamanoutlier.com/modules/videojs/theme/videojs.tpl.php).

Because of the verbiage, it seems that this is referring to the fact that there is no "poster" image, aka something to show before the movie has loaded. How do I define a poster for a particular uploaded video?

Comments

heshanlk’s picture

Category: bug » support
Status: Active » Fixed

To upload thumbnails, you have to use same field. Eg: Upload mp4, ogg then the jpg image. Then the player will pick the poster image.

anavarre’s picture

I came accross the same issue. I guess this would have been great to know this from the start with an updated README.TXT for D7. @heshan.lk, do you want me to help you with that ?

Status: Fixed » Closed (fixed)

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