[Webkit-unassigned] [Bug 79167] Expose a setting to exempt media playback from user gesture requirement after a user gesture is initiated on loading/playing a media

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 21 23:25:59 PST 2012


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





--- Comment #11 from Jer Noble <jer.noble at apple.com>  2012-02-21 23:25:59 PST ---
(In reply to comment #10)
> (In reply to comment #9)
> > (In reply to comment #8)
> > > (In reply to comment #7)
> > > > (In reply to comment #5)
> > > > > I think we should just clear m_restrictions if loading or playback is initiated by a user gesture.
> > > > 
> > > > What about RequirePageConsentToLoadMediaRestriction?  Should be more discriminating about which restrictions we clear?
> > > 
> > > I don't think so, because calling play() when nothing is loaded implicitly calls load().
> > 
> > And RequireUserGestureForFullscreenRestriction?
> 
> Yes. The user is explicitly requesting playback and loading, so I think all restriction should be relaxed. This what we do on iOS FWIW.

Wouldn't this break the intended behavior for ports who set only RequireUserGestureForFullscreenRestriction?  (Not that there necessarily are any, but...)  I'm just saying that this change could introduce all kinds of unintended side-effects, not just for the current set of restrictions, but especially if any are added in the future.

Plus, isn't it a bit weird that, with this change, causing a load with a user gesture will clear the full screen restriction, but actually clicking a full screen button won't?

-- 
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