surmon-china / videojs-player

@videojs player component for @vuejs(3) and React.
https://github.surmon.me/videojs-player
MIT License
5.25k stars 1.13k forks source link

How to set up video preloading #464

Open F1462900874 opened 5 months ago

F1462900874 commented 5 months ago

Describe the bug

In the latest version, I found that I used preload=auto, play the m3u8 video, after the video was paused, the video did not continue to load or preload, I checked the relevant documentation, the compatibility is not very friendly, but my test environment is also chrome, so I don't know where my problem is, I will provide a piece of development code, as a way to ask for help, thanks!

Reproduction

image image

System Info

"dependencies": {
    "@videojs-player/vue": "1.0.0",
    "video.js": "8.10.0",
    "vue": "^3.3.11",
  },

Used Package Manager

yarn

Validations