ladybird/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.h
Linus Groh a2e6abe159 LibWeb: Add HTMLMediaElement.canPlayType()
For the time being, the answer is no, or rather: "" :^)
2022-03-04 23:03:29 +01:00

23 lines
471 B
C++

/*
* Copyright (c) 2020, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWeb/HTML/HTMLElement.h>
namespace Web::HTML {
class HTMLMediaElement : public HTMLElement {
public:
using WrapperType = Bindings::HTMLMediaElementWrapper;
HTMLMediaElement(DOM::Document&, DOM::QualifiedName);
virtual ~HTMLMediaElement() override;
Bindings::CanPlayTypeResult can_play_type(String const& type) const;
};
}