sydlawrence/jquery.videoBG — Issue #7: Problem with a Drupal CMS installation
Author: dcrellen
Created: 2012-03-02 03:04:21+00:00
State: open

I think I am close to having it work in a Drupal 7 environment but problems remain.

Assuming that all references are relative to the location of the query,videoBG.js file, I created a folder in the site's "file" section called videoBG within which I located the query.videoBG.js file and the assets folder. The only difference is that the query.js file is located elsewhere as a global resource.

Inspecting the results, I look at the script.js which is reporting the error:
script.js:2TypeError:'undefined' is not a function (evaluating '$(document)')

I have loaded the video assets into the asset folder and reference them exactly as you have.

Any suggestions as to what could be 'undefined'?