gitlab-org--gitlab-foss/app/assets/javascripts/content_editor/extensions/video.js

12 lines
227 B
JavaScript

import Playable from './playable';
export default Playable.extend({
name: 'video',
addOptions() {
return {
...this.parent?.(),
mediaType: 'video',
extraElementAttrs: { width: '400' },
};
},
});