debian-mirror-gitlab/app/assets/javascripts/behaviors/markdown/nodes/video.js
2020-03-13 15:44:24 +05:30

10 lines
273 B
JavaScript

import Playable from './playable';
// Transforms generated HTML back to GFM for Banzai::Filter::VideoLinkFilter
export default class Video extends Playable {
constructor() {
super();
this.mediaType = 'video';
this.extraElementAttrs = { width: '400' };
}
}