2020-07-31 23:05:43 -03:00
|
|
|
/*
|
2021-04-28 17:46:44 -03:00
|
|
|
* Copyright (c) 2020, the SerenityOS developers.
|
2020-07-31 23:05:43 -03:00
|
|
|
*
|
2021-04-22 05:24:48 -03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-07-31 23:05:43 -03:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <LibWeb/HTML/HTMLElement.h>
|
|
|
|
|
|
|
|
|
|
namespace Web::HTML {
|
|
|
|
|
|
|
|
|
|
class HTMLMediaElement : public HTMLElement {
|
|
|
|
|
public:
|
|
|
|
|
using WrapperType = Bindings::HTMLMediaElementWrapper;
|
|
|
|
|
|
2022-02-18 17:00:52 -03:00
|
|
|
HTMLMediaElement(DOM::Document&, DOM::QualifiedName);
|
2020-07-31 23:05:43 -03:00
|
|
|
virtual ~HTMLMediaElement() override;
|
2022-03-04 14:49:30 -03:00
|
|
|
|
|
|
|
|
Bindings::CanPlayTypeResult can_play_type(String const& type) const;
|
2020-07-31 23:05:43 -03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|