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
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,