mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 17:25:06 +00:00
LibWeb: Propagate LibVideo decoder errors to the HTMLMediaElement
This commit is contained in:
parent
9c940608fd
commit
848078aedd
3 changed files with 41 additions and 5 deletions
|
@ -35,6 +35,7 @@ public:
|
|||
void queue_a_media_element_task(JS::SafeFunction<void()> steps);
|
||||
|
||||
JS::GCPtr<MediaError> error() const { return m_error; }
|
||||
WebIDL::ExceptionOr<void> set_decoder_error(String error_message);
|
||||
|
||||
String const& current_src() const { return m_current_src; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue