Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

TypeError: this.error(...) is null in VJS 4.7.3 #1471

Closed
Globulopolis opened this issue Sep 2, 2014 · 3 comments
Closed

TypeError: this.error(...) is null in VJS 4.7.3 #1471

Globulopolis opened this issue Sep 2, 2014 · 3 comments

Comments

@Globulopolis
Copy link

In Firefox 28.0 console:
Timestamp: 02.09.2014 23:12:35
Error: TypeError: this.error(...) is null
Source File: video.dev.js
Line: 6290

In IE 11:
VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found for this video. [object Object]
"VIDEOJS:"
"ERROR:"
"(CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED)"
"No compatible source was found for this video."
{
[functions]: ,
proto: { },
code: 4,
MEDIA_ERR_ABORTED: 1,
MEDIA_ERR_CUSTOM: 0,
MEDIA_ERR_DECODE: 3,
MEDIA_ERR_ENCRYPTED: 5,
MEDIA_ERR_NETWORK: 2,
MEDIA_ERR_SRC_NOT_SUPPORTED: 4,
message: "No compatible source was found for this video.",
status: null
}

Example http://jsfiddle.net/abekx6jq/
Minified version I used in this example.

@Globulopolis
Copy link
Author

Ok. I localized the bug. If the poster cannot be loaded when VJS throw an error but video can be played in Firefox, but not in IE. In IE I'm get an error and can't play video.

PS! I think this bug not only in FF an IE #1465

@mmcc
Copy link
Member

mmcc commented Sep 2, 2014

Thank you for the heads up. This seems close enough to #1465 that we can combine them. Want to add a note on the other issue for tracking purposes?

@redbar0n
Copy link

This might detail the problem and the solution:
http://magnemg.tumblr.com/post/113251336220/how-to-solve-a-capybara-webkit-and-video-js

If it is the same problem, then it's an issue with the Webkit implementation that Qt 4 uses on OSX. The solution is to upgrade to Qt 5 which uses a newer version that doesn't throw TypeError's when trying to play MP4 videos. See the blog post for more details.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

3 participants