johnpolacek / BigVideo.js

The jQuery Plugin for Big Background Video (and Images)
http://johnpolacek.github.io/BigVideo.js/
2.25k stars 422 forks source link

implementation to cms page on magento... #148

Open to8gal opened 9 years ago

to8gal commented 9 years ago

hello guys, I´m trying to add this great plugin to one of my cms page in magento...however I get this error:

TypeError: element.dispatchEvent is not a function
element.dispatchEvent(event);
bf19b83...ac84.js (line 5734, col 6)

ReferenceError: VideoJS is not defined
VideoJS.options.techOrder = ['flash'];
bf19b83...ac84.js (line 14177, col 3)

from debugging,

also I´ve tried just downloading to my laptop from github and play a bit with the whole scripts, but I get this errors already if I do load the example in firefox:

ReferenceError: jQuery is not defined
(function(a,b){function c(b,c){var e=b.nodeName.toLowerCase();if("area"===e){var...
jquery-....min.js (line 5, col 1)

ReferenceError: jQuery is not defined
...h(function(b,a){var e=a.src,d=c.data(a,"imagesLoaded");if(d&&d.src===e)i(a,d.isB...
jquery.....min.js (line 2)

ReferenceError: jQuery is not defined
})(jQuery);
bigvideo.js (line 332)

ReferenceError: $ is not defined
$(function() {
example...le.html (line 27, col 5)