Skip to content

Commit 6a48fca

Browse files
committed
Update scripts
1 parent a5c1723 commit 6a48fca

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

dist/speedy-vision.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* https://github.com/alemart/speedy-vision
66
*
77
* @license Apache-2.0
8-
* Date: 2024-07-03T01:32:00.614Z
8+
* Date: 2024-07-03T02:16:25.769Z
99
*/
1010
(function webpackUniversalModuleDefinition(root, factory) {
1111
if(typeof exports === 'object' && typeof module === 'object')
@@ -9067,8 +9067,8 @@ class SpeedyVideoMediaSource extends SpeedyMediaSource {
90679067
*/
90689068
_load(video) {
90699069
if (this.isLoaded()) this.release();
9070-
setTimeout(() => video.load()); // tweak for slow connections
9071-
9070+
utils/* Utils */.A.log('Loading a video...');
9071+
video.load();
90729072
return SpeedyVideoMediaSource._waitUntilPlayable(video).then(() => {
90739073
return SpeedyVideoMediaSource._handleAutoplay(video).then(() => {
90749074
this._data = video;
@@ -9123,7 +9123,7 @@ class SpeedyVideoMediaSource extends SpeedyMediaSource {
91239123
* @returns {SpeedyPromise<HTMLVideoElement>} resolves to the input video when it can be played
91249124
*/
91259125
static _waitUntilPlayable(video) {
9126-
const TIMEOUT = 15000,
9126+
const TIMEOUT = 30000,
91279127
INTERVAL = 500;
91289128
if (video.readyState >= 3) return speedy_promise/* SpeedyPromise */.i.resolve(video);
91299129
return new speedy_promise/* SpeedyPromise */.i((resolve, reject) => {

dist/speedy-vision.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)