Start a new topic

live stream + quality selector

1. How do I disable DVR? I'd like to hide the duration bar for live streams using viblast w/o videojs.

2. How to create and add a button for selecting qualities?

3. I have two m3u8 streams, SD and HD. I'd like to make it so that the user can click on a button to switch HD on/off. How do I accomplish that?

4. Autoplay and controls options don't seem to work if used as player setup parameters only from a video tag. Don't know why.

1 Comment

Hello ert55,


Please find the answers below.


1. How do I disable DVR? I'd like to hide the duration bar for live streams using viblast w/o videojs.

Can you share your test stream. Viblast player is chromeless and relies on the video tag native controls. You can hide them easy and add your custom controls on top of them.


2. How to create and add a button for selecting qualities?

You can find an useful example at our codepen.io page: 

https://codepen.io/Viblast/pen/yeKLeN

The ABR API is described here:

https://docs.viblast.com/player/api-abr


3. I have two m3u8 streams, SD and HD. I'd like to make it so that the user can click on a button to switch HD on/off. How do I accomplish that?

If your streams are ABR compatible and you serve them with a single ABR playlist, you can use the answer of question 2 in order to accomplish that.


4. Autoplay and controls options don't seem to work if used as player setup parameters only from a video tag. Don't know why.

Autoplay does not work as expected on most browsers. A good explanation can be found here:

https://developers.google.com/web/updates/2017/09/autoplay-policy-changes


Login to post a comment