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

Uncaught TypeError: m is not a function #2848

Closed
kalebxyz opened this issue Nov 23, 2015 · 4 comments
Closed

Uncaught TypeError: m is not a function #2848

kalebxyz opened this issue Nov 23, 2015 · 4 comments

Comments

@kalebxyz
Copy link

i am using video js /5.0/ with youtube plug in and i have tried 5.2.1 but the error is still here i have tried on localhost n server(yahoo ) but no luck ,i keep getting this error on the console ,n video js wont even be displayed i get html 5 player ,with out any video and broken . and i cant install anything on my server its shared hosting with no root access. pls help me !
o and most of the times it works when i refresh the page .

@Soviut
Copy link
Contributor

Soviut commented Nov 26, 2015

It is most likely a version incompatibility between VideoJS 5.0 and the YouTube plugin which probably only targets VideoJS 4.5.

If you can, try using a pre-5.0 version, you should be able to do this from the CDN.

@kalebxyz
Copy link
Author

i was trying it with 5.0 but it had that problem so i moved on to 5.2.1 to see if it was fixed ,the error has nothing to do with you tube plugin ,b/c i had it even before you tube plugin with mp4 videos . i have tired it on my local host still there ... it happens 1 in 5 tries. works when i refresh most of the times ...

@Soviut
Copy link
Contributor

Soviut commented Nov 26, 2015

Do you mean you tried it with a 4.x version and then had the problem?

Can you paste the stack trace that the browser gives in here so we can see what lines errors are happening on?

@gkatsev
Copy link
Member

gkatsev commented Jul 25, 2016

latest videojs-youtube works with latest videojs now.
Closing this issue due to lack of activity. If it is still a problem and we get more information and a reduced test case, we will happily re-open the issue.

@gkatsev gkatsev closed this as completed Jul 25, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2022
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

3 participants