question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VIDEOJS: ERROR: Error: HTTP error status: 0

See original GitHub issue

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

videojswavesurfer.zip videojswaveform_notworking

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
esukmonicacommented, Mar 9, 2022

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

0reactions
thijstriemstracommented, Mar 9, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found