Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EmbedlyService

Hierarchy

  • EmbedlyService

Index

Constructors

constructor

Properties

Private EMBEDLY_KEY

EMBEDLY_KEY: string

extractUrl

extractUrl: string = this.protocol + '://api.embed.ly/1/extract'

Private http

http: Http

oembedUrl

oembedUrl: string = this.protocol + '://api.embed.ly/1/oembed'

protocol

protocol: string = "https"

Methods

embed

  • embed(inputUrl: string, maxwidth?: number, scheme?: string): Promise

extract

  • extract(inputUrl: string): Promise

Private handleError

  • handleError(error: any): Promise

Generated using TypeDoc