You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
499 B
26 lines
499 B
"use strict";
|
|
|
|
const HTMLMediaElementImpl = require("./HTMLMediaElement-impl").implementation;
|
|
const { reflectURLAttribute } = require("../../utils");
|
|
|
|
class HTMLVideoElementImpl extends HTMLMediaElementImpl {
|
|
get poster() {
|
|
return reflectURLAttribute(this, "poster");
|
|
}
|
|
|
|
set poster(value) {
|
|
this.setAttributeNS(null, "poster", value);
|
|
}
|
|
|
|
get videoWidth() {
|
|
return 0;
|
|
}
|
|
|
|
get videoHeight() {
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
module.exports = {
|
|
implementation: HTMLVideoElementImpl
|
|
};
|
|
|