Sha256: 43f9f8e327721f7c01ec5432ff54431a98c581117194936c84fce41cbcbf2251

Contents?: true

Size: 622 Bytes

Versions: 9

Compression:

Stored size: 622 Bytes

Contents

module Hydra::Works::Characterization
  module Video
    extend ActiveSupport::Concern

    included do
      # Apply the module schema. This will add properties defined in the schema.
      apply_schema VideoSchema, AlreadyThereStrategy

      # Update the configuration to map the parsed terms to the correct property.
      parser_mapping.merge!(video_sample_rate: :sample_rate,
                            video_audio_sample_rate: :sample_rate,
                            video_duration: :duration,
                            video_width: :width,
                            video_height: :height)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hydra-works-0.9.0 lib/hydra/works/models/concerns/file_set/characterization/video.rb
hydra-works-0.8.1 lib/hydra/works/models/concerns/file_set/characterization/video.rb
hydra-works-0.8 lib/hydra/works/models/concerns/file_set/characterization/video.rb
hydra-works-0.7.1 lib/hydra/works/models/concerns/file_set/characterization/video.rb
hydra-works-0.7.0 lib/hydra/works/models/concerns/file_set/characterization/video.rb
hydra-works-0.6.0 lib/hydra/works/models/concerns/file_set/characterization/video.rb
hydra-works-0.5.0 lib/hydra/works/models/concerns/file_set/characterization/video.rb
hydra-works-0.4.0 lib/hydra/works/models/concerns/file_set/characterization/video.rb
hydra-works-0.3.0 lib/hydra/works/models/concerns/file_set/characterization/video.rb