title: Videojs - Hide error when stream is not running
body: <p>I've setup videojs player and got an HLS stream to work through OBS to the player. When OBS is running and sending video to the stream the play button appears on the player and it looks normal but when nothing is being streamed to the page it comes up with the "The media could not be loaded, either because the server or network failed or because the format is not supported." error with the cross underneath it. This would not be an issue to me but the page is going to be in use by other people and I don't want to have to repeat myself that the webpage is not broken and its just because it isn't streaming at the moment.</p>
  
  <p>Is there a way to either hide the error or change the text on the error to notify the stream is not currently running. Also is there a way I can get it to autoplay when the stream turns on. Heres my current file which is very basic and just the player at the minute.</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
    2 &lt;html lang="en"&gt;
    3 &lt;head&gt;
    4     &lt;meta charset=utf-8 /&gt;
    5     &lt;title&gt;Video.js | HTML5 Video Player&lt;/title&gt;
    6     &lt;link href="https://unpkg.com/video.js/dist/video-js.css" rel="stylesheet"&gt;
    7 &lt;/head&gt;
    8 &lt;body&gt;
    9
   10   &lt;video-js id="example_video_1" class="vjs-default-skin" controls preload="auto" width="640" height="264"&gt;
   11     &lt;source src="http://localhost/live/webcam/index.m3u8" type="application/x-mpegurl"&gt;
   12     &lt;p class="vjs-no-js"&gt;To view this video please enable JavaScript, and consider upgrading to a web browser that &lt;    a href="https://videojs.com/html5-video-support/" target="_blank"&gt;supports HTML5 video&lt;/a&gt;&lt;/p&gt;
   13   &lt;/video-js&gt;
   14
   15   &lt;script src="https://unpkg.com/video.js/dist/video.js"&gt;&lt;/script&gt;
   16   &lt;script src="https://unpkg.com/@videojs/http-streaming/dist/videojs-http-streaming.js"&gt;&lt;/script&gt;
   17
   18   &lt;script&gt;
   19           var player = videojs('example_video_1', {liveui: true});
   20   &lt;/script&gt;
   21 &lt;/body&gt;
   22
   23 &lt;/html&gt;
  </code></pre>