ladybird/UI/Android
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
..
gradle/wrapper Android: Keep up with the times 2025-07-10 15:44:53 -06:00
src LibWeb+LibWebView+WebContent: Allow muted media to autoplay by default 2026-06-19 09:41:32 +02:00
build.gradle.kts Meta: Remove obsolete Lagom host-tools build 2026-06-08 01:11:40 +02:00
CMakeLists.txt UI: Remove outdated references to LADYBIRD_SOURCES 2025-06-10 12:04:59 -04:00
gradle.properties Everywhere: Move the Ladybird folder to UI 2024-11-10 12:50:45 +01:00
gradlew Everywhere: Move the Ladybird folder to UI 2024-11-10 12:50:45 +01:00
proguard-rules.pro Everywhere: Move the Ladybird folder to UI 2024-11-10 12:50:45 +01:00
settings.gradle.kts Everywhere: Move the Ladybird folder to UI 2024-11-10 12:50:45 +01:00
vcpkg_android.cmake Everywhere: Move the Ladybird folder to UI 2024-11-10 12:50:45 +01:00