Sha256: b85c1162a742d1e7f4bca747ba17983c3acd6d5a88e105e5063d4c88e3e04d69

Contents?: true

Size: 260 Bytes

Versions: 62

Compression:

Stored size: 260 Bytes

Contents

module Pageflow
  # @api private
  class VideoFileCssBackgroundImageUrls
    def call(video_file)
      {
        default: {
          desktop: video_file.poster.url(:large),
          mobile: video_file.poster.url(:medium)
        }
      }
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
pageflow-17.0.4 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-17.0.3 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-17.0.2 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-17.0.1 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-17.0.0 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-16.2.0 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-16.1.0 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-16.0.0 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-15.8.0 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-14.5.2 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-15.7.1 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-15.7.0 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-15.6.1 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-15.6.0 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-15.5.0 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-15.4.0 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-15.3.0 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-15.2.2 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-15.2.1 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-15.2.0 app/models/pageflow/video_file_css_background_image_urls.rb