[Webkit-unassigned] [Bug 88897] Disable autoplay when user gesture is required for media playback

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 12 13:34:25 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=88897





--- Comment #5 from Eric Carlson <eric.carlson at apple.com>  2012-06-12 13:34:24 PST ---
(From update of attachment 147131)
View in context: https://bugs.webkit.org/attachment.cgi?id=147131&action=review

> LayoutTests/media/no-autoplay-with-user-gesture-requirement.html:31
> +            function canplaythrough()
> +            {
> +                 setTimeout(testPaused, 500);
> +            }

500ms is a *very* long time for a test to hang out waiting for nothing to happen. The 'play' event handler will make the test fail immediately if playback does start, so I think a much shorter timeout should be used here.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list