Remove "framework"
This commit is contained in:
parent
b45bdb18a0
commit
dc86d30eb2
72 changed files with 359 additions and 333 deletions
16
src/page/basics/video/video.ts
Normal file
16
src/page/basics/video/video.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { PageElement } from '../../page-element';
|
||||
import { createElement } from '../../../helper/create-element';
|
||||
import { generate } from './video.html';
|
||||
import { url } from '../../../types/url';
|
||||
|
||||
export class Video extends PageElement {
|
||||
public constructor(
|
||||
poster: url,
|
||||
mp4: url,
|
||||
webm: url,
|
||||
options?: string,
|
||||
container = true
|
||||
) {
|
||||
super(createElement(generate({ poster, mp4, webm, options, container })));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue