Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
alemart committed Jul 3, 2024
1 parent 0d3baea commit c809626
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/speedy-media-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ class SpeedyVideoMediaSource extends SpeedyMediaSource
if(this.isLoaded())
this.release();

setTimeout(() => video.load()); // tweak for slow connections

return SpeedyVideoMediaSource._waitUntilPlayable(video).then(() => {
return SpeedyVideoMediaSource._handleAutoplay(video).then(() => {
this._data = video;
Expand Down

0 comments on commit c809626

Please sign in to comment.