thrimbletrimmer: Don't hide the video player on error

It means you can't read the error, and it's more confusing.
pull/116/head
Mike Lang 5 years ago
parent 7dea1f0cdb
commit 775799944a

@ -53,7 +53,6 @@ function setupPlayer(source, startTrim, endTrim) {
this.on('error', function() { this.on('error', function() {
videojs.log("Could not load video stream"); videojs.log("Could not load video stream");
alert("No video available for stream."); alert("No video available for stream.");
document.getElementById("my-player").style.display = "none";
}) })
}); });
var hlsQS = player.hlsQualitySelector(); var hlsQS = player.hlsQualitySelector();

Loading…
Cancel
Save