Sha256: 234dabad1740e6db32bb0f217b99a4bbef125ba861af5852c3ce92f48ea16cf3

Contents?: true

Size: 313 Bytes

Versions: 6

Compression:

Stored size: 313 Bytes

Contents

module OEmbed
  class Providers
    # Provider for tiktok.com
    # See https://developers.tiktok.com/doc/embed-videos
    TikTok = OEmbed::Provider.new(
      "https://www.tiktok.com/oembed",
      format: :json
    )
    TikTok << "https://www.tiktok.com/*/video/*"

    add_official_provider(TikTok)
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ruby-oembed-0.18.1 lib/oembed/providers/tiktok.rb
ruby-oembed-0.18.0 lib/oembed/providers/tiktok.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/ruby-oembed-0.17.0/lib/oembed/providers/tiktok.rb
ruby-oembed-0.17.0 lib/oembed/providers/tiktok.rb
ruby-oembed-0.16.1 lib/oembed/providers/tiktok.rb
ruby-oembed-0.16.0 lib/oembed/providers/tiktok.rb