ladybird/Libraries/LibWebView/WebUI
Luke Wilde 8dc8835b64 LibWeb+LibWebView+WebContent: Allow muted media to autoplay by default
The autoplay setting was binary and its default blocked all media,
including muted video, leaving sites that rely on muted autoplay
visibly broken. Replace it with a tri-state user-agent autoplay
policy (allow audio and video, block audio, or block audio and video)
defaulting to allowing only inaudible media to autoplay.

This is enforced through the media element's "allowed to play" check,
so unmuting a muted autoplay or calling `play()` cannot slip audio
past the policy; audible playback is permitted once the document has
been activated by the user. The policy lives in a dedicated
AutoplaySettings consulted from HTMLMediaElement instead of the
Permissions Policy "allowed to use feature" check it was previously
conflated with.
2026-06-19 09:41:32 +02:00
..
BookmarksUI.cpp LibWebView: Add bookmark import/export to about:bookmarks 2026-04-22 08:02:15 -04:00
BookmarksUI.h LibWebView: Add bookmark import/export to about:bookmarks 2026-04-22 08:02:15 -04:00
HistoryUI.cpp LibWebView: Add about:history to view, query and mangage browser history 2026-06-10 20:27:36 +02:00
HistoryUI.h LibWebView: Add about:history to view, query and mangage browser history 2026-06-10 20:27:36 +02:00
ProcessesUI.cpp LibWeb+LibWebView+WebContent: Convert about:processes to a WebUI 2025-03-28 07:31:10 -04:00
ProcessesUI.h LibWebView: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
SettingsUI.cpp LibWeb+LibWebView+WebContent: Allow muted media to autoplay by default 2026-06-19 09:41:32 +02:00
SettingsUI.h LibWeb+LibWebView+WebContent: Allow muted media to autoplay by default 2026-06-19 09:41:32 +02:00
VersionUI.cpp Meta: Enable exit-time destructor warnings for libraries 2026-06-04 19:20:49 +02:00
VersionUI.h LibURL+LibWeb+LibWebView: Convert about:version to a proper WebUI 2026-04-21 06:59:11 -04:00