Fix media autoplay.

This commit is contained in:
Dermot Duffy
2024-04-14 18:37:18 -07:00
parent 4630d799cf
commit 842240021d
2 changed files with 10 additions and 10 deletions
@@ -315,7 +315,7 @@ describe('AutoMediaActions', () => {
// Intersection observer always calls handler on creation (and we ignore
// these first calls).
callIntersectionHandler(true);
callIntersectionHandler(false);
callIntersectionHandler(true);
expect(getPlayer(children[5], 'video')?.play).toBeCalled();