@@ -815,6 +815,9 @@ function bx_time(sLang, isAutoupdate, sRootSel) {
// process syntax hightlighing
if ('undefined' !== typeof(Prism) && eElement.size())
Prism.highlightAllUnder(eElement[0]);
+
+ // process embeds
+ bx_embed_dom_changed(this);
}
if ('undefined' !== typeof(oCallback)) {
oCallback(eElement);
@@ -26,4 +26,7 @@ function bx_embed_link(e)
{
embedly('card', e);
+function bx_embed_dom_changed(e)
+{
+}
</script>
@@ -1,7 +1,11 @@
-<script async charset="utf-8" src="//cdn.iframe.ly/embed.js?api_key=__key__"></script>
+<script async charset="utf-8" src="//cdn.iframe.ly/embed.js?api_key=__key__&iframe=card-small"></script>
<script>
function bx_embed_link(e)
- iframely.load(e);
+ window.iframely && iframely.load(e);
+ window.iframely && iframely.load();