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-13.0.0.rc1 app/models/pageflow/video_file_css_background_image_urls.rb
pageflow-13.0.0.beta7 app/models/pageflow/video_file_css_background_image_urls.rb