Skip to content

Commit

Permalink
fix(esl-media): play-in-viewport tolerance changed to 50% (75% before)
Browse files Browse the repository at this point in the history
  • Loading branch information
ala-n committed May 23, 2024
1 parent a30ca27 commit 06d2a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/esl-media/core/esl-media-iobserver.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type {ESLMedia} from './esl-media';

const RATIO_TO_PLAY = 0.75; // TODO: customizable, at least global
const RATIO_TO_PLAY = 0.5; // TODO: customizable, at least global
const RATIO_TO_STOP = 0.20; // TODO: customizable, at least global

const RATIO_TO_ACTIVATE = 0.05;
Expand Down

0 comments on commit 06d2a13

Please sign in to comment.