Sha256: 2142c62c3abf5b6831c5d65a05d2fd3804f78c0cfc0d99e3f9b91508a59b5c51
Contents?: true
Size: 1.27 KB
Versions: 19
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: false }); 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
19 entries across 19 versions & 1 rubygems