Video.js: How can I hide videojs error message?

Created on 7 Jun 2017  路  1Comment  路  Source: videojs/video.js

I want to hide player error message, how can i do this, please help me?

Most helpful comment

Depending on what you want to do, you can call player.error() with null to tell Video.js to hide the error: player.error(null).
If you want to just disable errors, you can set errorDisplay option to be false in the player options:

var player = videojs('vid', {
  errorDisplay: false
});

Hope that helps.

>All comments

Depending on what you want to do, you can call player.error() with null to tell Video.js to hide the error: player.error(null).
If you want to just disable errors, you can set errorDisplay option to be false in the player options:

var player = videojs('vid', {
  errorDisplay: false
});

Hope that helps.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pblasi picture pblasi  路  3Comments

cshah123 picture cshah123  路  4Comments

stephanedemotte picture stephanedemotte  路  4Comments

kocoten1992 picture kocoten1992  路  4Comments

borm picture borm  路  3Comments