Sha256: 24602ef296dc49d036a1334001214b84a8c4a7255eadbb960960df8ba7cc044d

Contents?: true

Size: 420 Bytes

Versions: 7

Compression:

Stored size: 420 Bytes

Contents

require 'blacklight'

module Blacklight
  module Oembed
    class Engine < Rails::Engine

      Blacklight::Oembed::Engine.config.render_helper = :render_oembed_tag_async
      ##
      # Allows an adopter to pass additional parameters through to an OEmbed
      # service. Examples of this could include `:canvas_index`, or `:max_width`
      Blacklight::Oembed::Engine.config.additional_params = []

    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-oembed-1.1.1/lib/blacklight/oembed/engine.rb
blacklight-oembed-1.1.1 lib/blacklight/oembed/engine.rb
blacklight-oembed-1.1.0 lib/blacklight/oembed/engine.rb
blacklight-oembed-1.0.1 lib/blacklight/oembed/engine.rb
blacklight-oembed-1.0.0 lib/blacklight/oembed/engine.rb
blacklight-oembed-0.3.0 lib/blacklight/oembed/engine.rb
blacklight-oembed-0.2.0 lib/blacklight/oembed/engine.rb