初始化
This commit is contained in:
11
client/test/domvideoelement.js
Normal file
11
client/test/domvideoelement.js
Normal file
@@ -0,0 +1,11 @@
|
||||
// mock class
|
||||
|
||||
export class DOMHTMLVideoElement {
|
||||
constructor(rect) {
|
||||
this.rect = rect;
|
||||
}
|
||||
|
||||
getBoundingClientRect() {
|
||||
return this.rect;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user