vime-js / vime

Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
https://vimejs.com
MIT License
2.75k stars 154 forks source link

hls player didn't work with preload options #357

Open 321vka opened 1 year ago

321vka commented 1 year ago

Hi, With hls video player its starts loading the chunk files. and download the first 4 files automatically.

How to stop downloading these files automatically. preload attribute is not working.

This is my code:

<vm-player controls>
          <vm-hls version="latest" preload="none" >
            <source data-src="https://multiplatform-f.akamaihd.net/i/multi/april11/sintel/sintel-hd_,512x288_450_b,640x360_700_b,768x432_1000_b,1024x576_1400_m,.mp4.csmil/master.m3u8" type="application/x-mpegURL" />
          </vm-hls>
          <!-- ... -->
        </vm-player>