video-streaminghttp-live-streamingscreen-resolutionmpeg-dashshaka

How to Play a video with multiple Resolutions using Shaka Player?


I want to play a video with multiple Resolutions using Shaka Player. Single video with multiple qualities.

I have checked all the api's of shaka player. But I don't know how to do it.

I should have a video tag and I have to pass a DASH video. My output should be a video tag which plays the same video with multiple Qualities like (1080p, 720p, 480p)

I need like this I need like this


Solution

  • You can find the information on how to do this in the Shaka documentation: https://shaka-player-demo.appspot.com/docs/api/tutorial-ui-customization.html

    const config = {
      'overflowMenuButtons' : ['quality']
    }
    ui.configure(config);