debian-mirror-gitlab/app/assets/javascripts/behaviors/markdown/nodes/video.js

11 lines
273 B
JavaScript
Raw Normal View History

2020-03-09 13:42:32 +05:30
import Playable from './playable';
2019-03-02 22:35:43 +05:30
// Transforms generated HTML back to GFM for Banzai::Filter::VideoLinkFilter
2020-03-09 13:42:32 +05:30
export default class Video extends Playable {
constructor() {
super();
this.mediaType = 'video';
this.extraElementAttrs = { width: '400' };
2019-03-02 22:35:43 +05:30
}
}