Cloudinary Video Player

Adaptive streaming

HLS 264

HLS 265

MPEG-DASH h264

MPEG-DASH vp9

HLS with fastStart

HLS with highQuality

Adaptive streaming documentation

Example Code:

      
        <video
          id="example-player-hls"
          controls
          autoplay
          muted
          width="500"
          class="cld-video-player">
        </video>

        <video
          id="example-player-dash"
          controls
          autoplay
          muted
          width="500"
          class="cld-video-player">
        </video>
      
      
        const config =  {cloud_name: 'demo'};

        var playerHls = cloudinary.videoPlayer('example-player-hls', config);
        var playerDash = cloudinary.videoPlayer('example-player-dash' , config);

        playerHls.source(
          'sea_turtle',
          {
            sourceTypes: ['hls'],
            info: {title: 'HLS'}
          }
        );

        playerDash.source(
          'sea_turtle',
          {
            sourceTypes: ['dash'],
            info: {title: 'MPEG-DASH'}
          }
        );