LibWeb: Implement TimeRanges and HTMLMediaElement.seekable()

This commit is contained in:
Psychpsyo 2025-02-14 11:22:12 +01:00 committed by Andrew Kaster
parent 3952ff4786
commit aa243000f3
Notes: github-actions[bot] 2025-02-18 17:46:30 +00:00
5 changed files with 103 additions and 18 deletions

View file

@ -58,6 +58,7 @@ public:
[[nodiscard]] GC::Ref<TimeRanges> buffered() const;
[[nodiscard]] GC::Ref<TimeRanges> played() const;
[[nodiscard]] GC::Ref<TimeRanges> seekable() const;
static inline constexpr auto supported_video_subtypes = Array {
"webm"sv,