v1.12.0
updateAddedEmbedo.plugins([ ... plugins ])to initialize multiple plugins during init for es6 or AMD modules.
import Embedo from 'embedo'
import withEmbedoReddit from 'embedo/plugins/reddit'
import withEmbedoGmaps from 'embedo/plugins/gmaps'
import withEmbedoFlickr from 'embedo/plugins/flickr'
// Then, load plugins
Embedo.plugins([ withEmbedoGmaps, withEmbedoReddit, withEmbedoFlickr ])
// OR works as HOC
withEmbedoReddit(Embedo)
// Then init Embedo instance
Embedo.init({ ..., reddit: true, googlemaps: { ... } })Try it on codesandbox demo here.
-
patchFixed instagram embed by adding embedding asiframeas fallback. Due to recent changes with instagram API, they broke their own embed system, but if you add suffix/embedafter post/photo URL, it can embed as iframe, see example here. -
Added Flickr plugin