Media element duration param

This commit is contained in:
Fernando Jiménez Moreno 2018-09-21 12:58:03 +02:00
parent 6904535865
commit f4ba7e503b
4 changed files with 30 additions and 10 deletions

View file

@ -15,7 +15,9 @@ use std::cell::Cell;
#[dom_struct]
pub struct HTMLVideoElement {
htmlmediaelement: HTMLMediaElement,
/// https://html.spec.whatwg.org/multipage/media.html#dom-video-videowidth
video_width: Cell<u32>,
/// https://html.spec.whatwg.org/multipage/media.html#dom-video-videoheight
video_height: Cell<u32>,
}