From c6bd724ef1ebf91a8ebe3a257f7ff2674be59c43 Mon Sep 17 00:00:00 2001 From: Ivan Paramonau Date: Fri, 1 Nov 2024 13:09:04 -0400 Subject: [PATCH] oembed: add `__oembedError` to enable optional meta fallbacks --- lib/plugins/system/oembed/oembed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/system/oembed/oembed.js b/lib/plugins/system/oembed/oembed.js index 0cae08424..baf4c7738 100644 --- a/lib/plugins/system/oembed/oembed.js +++ b/lib/plugins/system/oembed/oembed.js @@ -106,7 +106,7 @@ function getOembedIframeAttr(oembed) { export default { - provides: ['self', 'oembedError'], + provides: ['self', 'oembedError', '__oembedError'], getIframe: _getOembedIframe, // available via export for fallbacks as plugins['oembed'].getIframe(obj)