/* * Copyright (c) 2020, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include 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); }; }