mirror of
https://github.com/servo/servo
synced 2026-05-12 01:46:28 +02:00
Set muted on html video element creation. On `video` element creation, the `set_mute` function will be called before the media player is created, hence the player will still act as not being muted. This PR fix this behaviour by passing `muted` info after player is created as part of `setup_media_player` process. Testing: Locally test on Windows11 Fixes: https://github.com/servo/servo/issues/38448 --------- Signed-off-by: rayguo17 <tin.tun.aung1@huawei.com> Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> Co-authored-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>