In a previous blog we have described how to reset or set new VAST ads either for video playlist items or for new video loaded programmatically. Now we will describe how to reset or load new Google video ads, also know as Google Ima ads, served through Ima plugin by Google.
When you attempt to play live stream, but media server is down or disconnected the the video.js player keeps loading playlist continuously every 5 seconds about. If you leave the website page in this state or try to reconnect media server by reloading video source programmatically, after few minutes the browser may crash due to lack of memory.
Videojs fires "retryplaylist" event every 5 seconds about, when the only one HLS playlist or final rendition of the HLS playlist failed to load media file. In Nuevo plugin (from version 6.0.1) we have added a few options to limit the number of playlist loading retries and play "offline" video once the limit reached. When "offline" video ended, the browser is automatically refreshed and attempts to load Hls playlist again.
Several users asked us how to set media source and corresponding data like captions, chapters, etc. progrmmatically instead of video element parameters.
Usually people make use of videojs src() function to load media source programattically, however it allows only to set media source. With Nuevo plugin you can make use of changeSource() function. Hoever since this is Nuevo plugin function, you can use it only once Nuevo plugin is loaded.
We decided to release new MAJOR version of the Nuevo plugin for videojs player.
Version 6.0.0 features all skins heavily redesigned for better performance regardless of the size of the player. This especially concerns button menus, for small size player, e.g. on the mobile device in portrait mode. As far button menu items number was limited in display. Now it's showing as many language, chapter or audio items as device or browser's full height allows.
Sign in to receive latest news about Nuevodevel new releases, fixes, important tips.
By clicking Sign Up button you agree to receive Nuevodevel announcements about new releases, updates, fixes, tips and new offers. You will be able to sign-out Newsletter in the future if you decide not receive Nuevodele messages any more.