ladybird/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.h
2022-10-28 16:17:08 +01:00

27 lines
504 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 {
WEB_PLATFORM_OBJECT(HTMLMediaElement, HTMLElement);
public:
virtual ~HTMLMediaElement() override;
Bindings::CanPlayTypeResult can_play_type(String const& type) const;
void load() const;
protected:
HTMLMediaElement(DOM::Document&, DOM::QualifiedName);
};
}