videojs / videojs-contrib-dash

Video.js plugin for supporting the MPEG-DASH playback through a video.js player
https://videojs.github.io/videojs-contrib-dash/
Apache License 2.0
295 stars 128 forks source link

Stop preloading evenif autoplay="false" and preload="none" #386

Open prakash-bbsr opened 11 months ago

prakash-bbsr commented 11 months ago

Description

We are using both videojs and videojs-contrib-dash to play MPEG file. We have observed the chunks are downloaded when the page loaded. It means before click on the play button. In this way the website page performance is hampering.

Steps to reproduce

https://codepen.io/pcn2007/pen/dyQBVQK

Results

Expected

Chunks should not be downloaded until and unless click on the play button.

Actual

The MPEG chunks are going to download on before click on the play button.

Error output

No error

Additional Information

Please include any additional information necessary here. Including the following:

versions

videojs https://vjs.zencdn.net/7.11.4/video.js

videojs-contrib-dash https://cdn.jsdelivr.net/npm/videojs-contrib-dash@5.1.1/dist/videojs-dash.min.js

what version of videojs does this occur with?

browsers

I have checked in both Chrome and Firefox browsers

OSes

My system is Ubuntu OS

plugins

Videojs Dash videojs-contrib-dash.js

ParasPidurkar commented 7 months ago

@prakash-bbsr have you found solution to this issue ? i am having similar issue