debian-mirror-gitlab/app/assets/javascripts/content_editor/extensions/video.js

13 lines
227 B
JavaScript
Raw Normal View History

2021-11-11 11:23:49 +05:30
import Playable from './playable';
export default Playable.extend({
name: 'video',
2022-01-26 12:08:38 +05:30
addOptions() {
return {
...this.parent?.(),
mediaType: 'video',
extraElementAttrs: { width: '400' },
};
2021-11-11 11:23:49 +05:30
},
});