Sha256: bfd8089e2378b20e368a9999d29263db265ba0aea5b0ee707dacda9195126ab2
Contents?: true
Size: 639 Bytes
Versions: 7
Compression:
Stored size: 639 Bytes
Contents
class Embeditor.Adapters.Brightcove extends Embeditor.Adapters.StaticTemplate className: "Brightcove" @Template = Embeditor.Template('brightcove') @QueryDefaults = maxwidth : 620 maxheight : 550 @Matchers = [ new RegExp /bcpid(\d+)\?bckey=([^&]+)/i ] swap: -> match = @_parseUrl() return false if not match playerId = match[1] playerKey = match[2] @embed Brightcove.Template maxheight : @queryParams.maxheight maxwidth : @queryParams.maxwidth playerId : playerId playerKey : playerKey
Version data entries
7 entries across 7 versions & 1 rubygems