Skip to content
This repository has been archived by the owner on Apr 30, 2018. It is now read-only.

Uncaught TypeError: undefined is not a function #25

Open
jnestour opened this issue Mar 2, 2015 · 1 comment
Open

Uncaught TypeError: undefined is not a function #25

jnestour opened this issue Mar 2, 2015 · 1 comment

Comments

@jnestour
Copy link

jnestour commented Mar 2, 2015

Hello, I am desperately trying to make this JS work but I am not a developer (though learning to code).

Here is the error I get in the console when loading the JS script and a vimeo video in an iframe. As far as I can see, I did everything by the book otherwise:

Uncaught TypeError: undefined is not a function vimeo.ga.min.js:8
(anonymous function) vimeo.ga.min.js:8

Would you have any pointers as to what could be the root cause at play?

Many thanks!

@justinlinz
Copy link

A good thing to do when troubleshooting an error would be to use vimeo.ga.js (instead of vimeo.ga.min.js). This will make provide more clarity into what is causing the error.
A shot in the dark, ensure the src of your iframe, which is the url to the vimeo video, does also include the player_id parameter, referencing the id of the iframe in on your page. For example:
&player_id=vimeo-player-1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants