Hi, I followed each steps which is mentioned in documentation page. I added Bigvideo page and added sources as a mp4 file. But that output background video is not running ??

Comments

kruhak’s picture

Status: Active » Postponed (maintainer needs more info)

Hello,

Can you provide more information about your BigVideo installation?
Which Theme and what versions of jQuery and VideoJS you using on your site?
May be you have any errors messages in watchdog or browser console?

Thank you.

pauljb’s picture

hello,

I'm having the same problem. Using Bootstrap 3 (with jQuery 1.10).
No error messages in watchdog or elsewhere.
Tried link and file upload.
I can't see the .js files loaded.

kruhak’s picture

Hello,

Please install last dev version. Scripts attachment place was changed. Maybe this will help.
I don't see any problems on my site with Bootstrap 3 and jQuery 1.10. Scripts and video are loaded correctly.

Peter Muusers’s picture

I'm also having trouble getting the background video to play after following all steps.

In the console i get the following error:
TypeError: undefined is not a constructor (evaluating: 'new $.BigVideo()') (bigvideo.js:13)

EDIT: I'm also using the alpha1 version... switching to dev now...
EDIT: Unfortunately... no luck here...

kruhak’s picture

Hello Peter,

Looks like your installation not fully complete.
Please make sure that you have installed and loaded all requirements from Readme file (do not forget to check the correct files location):
- Video.JS 3.x module (with 4.x library)
- BigVideo library
- jQuery >= 1.7
- Imagesloaded library

ylys’s picture

Same error: undefined is not a function (bigvideo.js:13)
var BV = new $.BigVideo();

- Video.JS 3.x module (with 4.x library)
- BigVideo library
- jQuery >= 1.7
- Imagesloaded library

schrammos’s picture

The library doesn't get loaded, as the version detection fails. The module checks the bower.json file in the library for a version, but there is no version in there. If you remove bower.json file, it works. Better would be to update the version detection, to not search in the bower.json file.

But i would recommend to patch the module, as it does not work with the current library if you download it without removing the bower file. The following patch will make the module work;

bigvideo.module > function bigvideo_get_version($library):

replace:

$version = $json->version;
break;

with:

if (property_exists($json, 'version')) {
  $version = $json->version;
  break;
}

  • kruhak committed fff1e73 on 7.x-1.x
    Issue #2488444 by cite.mohanty, pauljb, Peter Muusers, schrammos, ylys:...
kruhak’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thank you, schrammos. Your comment is very helpful.

Please update module to latest dev version. Issue with version of the library has been fixed.

Status: Fixed » Closed (fixed)

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