[Webkit-unassigned] [Bug 254580] Transitent navigation doesn't trigger video autoplay with sound
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 5 16:57:57 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=254580
--- Comment #3 from Jer Noble <jer.noble at apple.com> ---
Navigation should not result in transient activation. Websites should not get free rein to perform actions that require a user gesture just because a user clicked on a link to navigate to that website.
Tested against the link above:
- Firefox 112.0.2 does not allow the media to play on navigation (though it doesn't display the `navigator.userActivation.isActive:` line.
- Chrome 113.0.5672.63 allows the media to play with audio on navigation, but it displays: `navigator.userActivation.isActive: false`
- Chrome with the setting "Don't allow sites to play sound" enabled plays the media back muted, and also displays: `navigator.userActivation.isActive: false`.
- ToT Safari refuses to play the unmuted video, and displays: `navigator.userActivation.isActive: false`
The difference in behavior between Chrome, Firefox, and Safari is that Chrome allows video to play with audio by default, and Firefox & Safari do not.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230505/ab09fada/attachment.htm>
More information about the webkit-unassigned
mailing list