1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 22:21:00 +00:00
serenity/Userland
Luke Wilde 26f8a441f5 LibWeb: Add audio mime types to HTMLMediaElement.canPlayType
Now that we support audio, we can start correctly reporting we support
certain audio mime types!

Required by certain sites like Gartic Phone, which fails to load audio
because we didn't return a non-empty string for `audio/mpeg`:
```
"https://garticphone.com/sounds/turnundefined", Error: Load failed: 404
```

```js
(new Audio).canPlayType("audio/mpeg") && (this._extension = ".mp3"),
```
2023-06-17 06:26:56 -04:00
..
Applets LibGUI+Userland: Propagate errors in Model::column_name() 2023-06-14 17:53:59 +02:00
Applications Ladybird+LibWeb+WebContent: Add context menu controls for muting audio 2023-06-16 19:34:42 +02:00
BuggieBox Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Demos LibGUI+Userland: Port StatusBar::text() and set_text functions to String 2023-06-15 13:53:22 +01:00
DevTools LibGUI+Userland: Use action text as a fallback in Action::status_tip() 2023-06-15 13:53:22 +01:00
DynamicLoader DynamicLoader: Ensure that backtrace computation stops at _start 2023-04-23 14:30:59 +02:00
Games LibGUI+Userland: Port StatusBar::set_override_text() to String 2023-06-15 13:53:22 +01:00
Libraries LibWeb: Add audio mime types to HTMLMediaElement.canPlayType 2023-06-17 06:26:56 -04:00
Services Ladybird+LibWeb+WebContent: Add context menu controls for muting audio 2023-06-16 19:34:42 +02:00
Shell Shell: Stop lying about string types 2023-06-13 01:49:02 +02:00
Utilities LibCompress/Gzip: Replace usage of DeprecatedString 2023-06-17 06:44:16 +02:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00