-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Better error reporting #1035
Comments
PS: Version is the latest I installed via bower, 4.4.1 |
How are you setting |
Through |
Strange. Can you reproduce using JSBin? |
Sorry, cannot do that. My prototype is huge. Cannot extract the code into a smaller piece. I am using the racvtive.js framework among many other libraries. All I am saying that the error message is poor. I wish there is more information in the error message! |
That looks like an event object that gets logged. |
Exactly, looks like an event object. The video files were a simple MP4 and WebM of mine, the video element attributes were (jade syntax):
I instantiated the videojs instance without options and callback. Not needed. Just with
after DOM ready. |
IMO the function
|
Yeah, that would be better. @imbcmdth, interested in making a pull request for that? |
Changed the title to "Better error reporting" and confirmed as an (unclaimed) enhancement. |
I may be able to address this with #869. |
This situation should be handled better now as of #1197 (merged into master), if anyone wants to try it out |
Better error handling was added in version 4.6.0. Please update and try it out. I'm going to close this but let me know if you don't think it's fixed. |
Original title: Weird error message
I see a weird error message without any information when I initialise with a reference to the video element like that:
the error message in the console is:
What does this mean??
The text was updated successfully, but these errors were encountered: