J Z commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -476,7 +476,7 @@ function crossfadeTo(url, muted){
|
|
| 476 |
currentVideo=currentVideo==='A'?'B':'A';
|
| 477 |
isTransitioning=false;
|
| 478 |
resolve();
|
| 479 |
-
},
|
| 480 |
}).catch(()=>{
|
| 481 |
next.muted=true;
|
| 482 |
next.play().then(()=>{
|
|
@@ -487,7 +487,7 @@ function crossfadeTo(url, muted){
|
|
| 487 |
currentVideo=currentVideo==='A'?'B':'A';
|
| 488 |
isTransitioning=false;
|
| 489 |
resolve();
|
| 490 |
-
},
|
| 491 |
}).catch(()=>{ isTransitioning=false; resolve(); });
|
| 492 |
});
|
| 493 |
};
|
|
|
|
| 476 |
currentVideo=currentVideo==='A'?'B':'A';
|
| 477 |
isTransitioning=false;
|
| 478 |
resolve();
|
| 479 |
+
},75);
|
| 480 |
}).catch(()=>{
|
| 481 |
next.muted=true;
|
| 482 |
next.play().then(()=>{
|
|
|
|
| 487 |
currentVideo=currentVideo==='A'?'B':'A';
|
| 488 |
isTransitioning=false;
|
| 489 |
resolve();
|
| 490 |
+
},75);
|
| 491 |
}).catch(()=>{ isTransitioning=false; resolve(); });
|
| 492 |
});
|
| 493 |
};
|