Skip to content
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

$ is not defined #76

Open
tarsusi opened this issue Nov 6, 2020 · 2 comments
Open

$ is not defined #76

tarsusi opened this issue Nov 6, 2020 · 2 comments

Comments

@tarsusi
Copy link

tarsusi commented Nov 6, 2020

Hi,

I have tried to use this plugin but I could not start the basic example. You can see my project here

On the console window, you will see the error I am getting.

What is the problem here?

Thanks

@jamesconant
Copy link

VIDEOJS: ERROR: ReferenceError: $ is not defined would suggest to me that JQuery is required but not loaded and available.

@liyangguang
Copy link

Here - https://github.com/contently/videojs-annotation-comments/blob/master/src/js/index.js, it expects jQuery in global.

So I have to include a jquery script tag in my index.html.

Also, you need to add import '@contently/videojs-annotation-comments/build/css/annotations.css'; for proper styles.

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

No branches or pull requests

3 participants