Sha256: 8d6e03be68aa8a664c44f4930fcdd75c8df97aeda8f133784d884884bca751b5

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

class Embeditor.Adapters.Embedly extends Embeditor.Adapters.Oembed
    className: "Embedly"

    @Endpoint = "https://api.embed.ly/1/oembed"

    # This object should hold any keys that we want to
    # send to the API. Any key not in this object will
    # be ignored as a data attribute.
    @QueryDefaults =
        maxheight   : null
        maxwidth    : 650 # Without this, height is just at the maximum.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
embeditor-rails-2.2.0 app/assets/javascripts/embeditor/adapters/embedly.js.coffee