Sha256: b098ebe6d042e829f2d96e2a244d2465298611930030f208e5f59e4d4100bc27

Contents?: true

Size: 869 Bytes

Versions: 29

Compression:

Stored size: 869 Bytes

Contents

pageflow.ConfigurationEditorView.register('audio', {
  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('audio_file_id', pageflow.FileInputView, {
        collection: pageflow.audioFiles,
        defaultTextTrackFilePropertyName: 'default_text_track_file_id'
      });
      this.group('background');
      this.input('thumbnail_image_id', pageflow.FileInputView, {
        collection: pageflow.imageFiles,
        positioning: false
      });
    });

    this.tab('options', function() {
      this.input('autoplay', pageflow.CheckBoxInputView);
      this.group('options', {canPauseAtmo: true});
    });
  }
});

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
pageflow-12.0.1 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-12.0.0 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-12.0.0.rc7 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-12.0.0.rc6 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-12.0.0.rc5 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-12.0.0.rc4 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-12.0.0.rc3 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-12.0.0.rc2 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js
pageflow-12.0.0.rc1 app/assets/javascripts/pageflow/editor/views/configuration_editors/audio.js