VIDEOJS: ERROR: Error: HTTP error status: 0
See original GitHub issueIssue Description
I have taken the “Wavesurfer Plugin Video Example” and change the video file to be played to:
// load file player.src({src: 'test.mp4', type: 'video/mp4'});
When loading the page I get “ERROR: Error: HTTP error status: 0”. The video file plays, but no waveform is displayed.
Any ideas?
Thanks
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
I get an error: VIDEOJS: ERROR: (CODE:0 ... - Stack Overflow
When I play video using video. js - Stack Overflow. Stack Overflow for Teams – Start collaborating and sharing organizational knowledge.
Read more >Multiple this.player_ is null errors after switching player source ...
Multiple console errors are occurring when changing video source. Error output. VIDEOJS: ERROR: TypeError: this.player_ is null update https:// ...
Read more >Class: MediaError | Video.js Documentation
This can be of multiple types: - number: should be a standard error code - string: an error message (the code will be...
Read more >Getting Started with Video.js - Video.js: The Player Framework
The source code is everything you'll find when checking out the Video.js git repository. This includes all the source files and any tooling...
Read more >Player - Video.js Documentation
Returns a value that expresses the current state of the element with respect to rendering the current playback position, from the codes in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks thijstriemstra
All working now. The error was caused by opening the .html directly from disk.
I have now opened the html via the URL and I get the waveform
The regular example works ok: https://collab-project.github.io/videojs-wavesurfer/demo/video.html
Can you try a different video, and maybe also paste output of
ffprobe
(part of ffmpeg) for the video here.