Fix media autoplay.

This commit is contained in:
Dermot Duffy committed 2024-04-14 18:37:18 -07:00
1 parent 4630d799cf
commit 842240021d
2 files changed
+10 -10

No files matched your search

@@ -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();