J Z commited on
Commit
0239f53
·
verified ·
1 Parent(s): 406f982

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -476,7 +476,7 @@ function crossfadeTo(url, muted){
476
  currentVideo=currentVideo==='A'?'B':'A';
477
  isTransitioning=false;
478
  resolve();
479
- },175);
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
- },175);
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
  };