Resume live stream after it was paused

Many videojs users report a trouble with resuming live stream once it was paused after some time. We also experienced the same issue. Once a live stream paused, after some time it's impossible to resume it and continue to play and you must reload website page to play again.

We have checked the JWPlayer and found that it reconnects live stream every time when it was paused and resumed to play.

So we've decided to include some code into Nuevo plugin and force videojs player to work same like JW. Since version 6.4.0 of Nuevo plugin this is how the player works now for live stream by default.

We also included an option not to reconnect live stream always, after it was paused, but only when it was paused for a certain amount of time.

Code snippet
<script>
   var player = videojs("my_player");
   player.nuevo({ liveTimeout:5 });
</script>

Option liveTimeout:5 means that player will reconnect the live stream only when it was paused for more than 5 seconds and resumed to play.

If you prefer not to reconnect live stream at all and keep videojs to work default, you can set option liveReload to false.

Code snippet
<script>
   var player = videojs("my_player");
   player.nuevo({ liveReload:false });
</script>

You can check the live stream demo to see how new code works. If you pause live stream, wait 3-4 seconds or more and play it again, the live stream will be reconnected. Our demo uses liveTimeout:3 option.

New way how the player resumes live stream is the most important new feature in Nuevo plugin version 6.4.0, but not the only one. New version is back with an option to show video qualities from inside of settings menu instead of separate qualities menu. We also released new Premium skin named Fluid and included it into Premium and Gold plans. All 9 skins that we produced you ca review here.

It is also worth mentioning that now all demos and examples on Nuevodevel.com website use videojs version 7.10.1, released October 15, 2020.

Nuevodevel Blog
Nuevodevel Tweeter