-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vimeo.js: Cannot read property 'getJSON' of undefined #74
Comments
Same problem here... seams the url has changed or is different for hidden video's? |
It depends on global jQuery... Adding jQuery as global dep will solve this. |
I have jQuery added as a global dependency for a project I am working on and I am still encountering this error message. The default video.js package works fine, just trying to use the vimeo add-on returns the error. Any ideas? |
This is a big issue when using no-conflict jquery. |
A quick fix would be to replace the $ with jQuery so that it reads like jQuery.getJSON |
That's an edit to source which makes upgrading impossible. The authors On Sun, Oct 9, 2016, 7:05 PM hiraylo [email protected] wrote:
|
Agree 100%! |
Should be fixed in master now. |
Getting this error when trying to use a Vimeo embed
Vimeo.js:94 Uncaught TypeError: Cannot read property 'getJSON' of undefined
Code is embedded like this
<div data-setup="{ "techOrder": ["vimeo"], "sources": [{ "type": "video/vimeo", "src": "https://vimeo.com/153836040"}] }" class="video-js vjs-sublime-skin vjs-paused project-video-dimensions" id="project-video"></div>
Here are my versions.
"videojs-vimeo": "^2.0.0",
"video.js": "videojs#^5.8.5",
The text was updated successfully, but these errors were encountered: