Sha256: 69aca9c326874245c7251bac0940906a15e9d47f95f1b7198d806e27ddb8d616
Contents?: true
Size: 1.3 KB
Versions: 14
Compression:
Stored size: 1.3 KB
Contents
pageflow.ConfigurationEditorView.register('video', { configure: function() { this.tab('general', function() { this.group('general', {supportsTextPositionCenter: true}); 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
14 entries across 14 versions & 1 rubygems