Sha256: 65d4a4d24a1d60a0467c01dddca9494f813ebf1cb45df1b765b73344187950ad
Contents?: true
Size: 1.27 KB
Versions: 25
Compression:
Stored size: 1.27 KB
Contents
pageflow.ConfigurationEditorView.register('video', { configure: function() { this.tab('general', function() { this.group('general'); this.input('additional_title', pageflow.TextInputView); this.input('additional_description', pageflow.TextAreaInputView, {size: 'short'}); }); this.tab('files', function() { this.input('video_file_id', pageflow.FileInputView, { collection: pageflow.videoFiles, positioning: false, defaultTextTrackFilePropertyName: 'default_text_track_file_id' }); this.input('poster_image_id', pageflow.FileInputView, { collection: pageflow.imageFiles, positioning: false, }); this.input('mobile_poster_image_id', pageflow.FileInputView, { collection: pageflow.imageFiles, positioning: true }); this.input('thumbnail_image_id', pageflow.FileInputView, { collection: pageflow.imageFiles, positioning: false }); }); this.tab('options', function() { this.input('autoplay', pageflow.CheckBoxInputView); if (pageflow.features.isEnabled('auto_change_page')) { this.input('auto_change_page_on_ended', pageflow.CheckBoxInputView); } this.group('options', {canPauseAtmo: true}); }); } });
Version data entries
25 entries across 25 versions & 1 rubygems