web_sys::HtmlMediaElement Struct

The HtmlMediaElement Struct provides properties and methods needed to support basic media-related capabilities that are common to audio and video.

Cargo.toml

[package]
name = "web_sys_console"
version = "0.1.0"
authors = ["www.webassemblyman.com"]
edition = "2019"

[lib]
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.50"

[dependencies.web-sys]
version = "0.3.4"
features = [
  'HTMLMediaElement',
]       
        

Methods

features/dependencies

Source Code