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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
227 B
JavaScript
Raw Normal View History

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