Skip to content

Instantly share code, notes, and snippets.

@TimGeyssens
Created November 29, 2013 12:46
Show Gist options
  • Save TimGeyssens/7705239 to your computer and use it in GitHub Desktop.
Save TimGeyssens/7705239 to your computer and use it in GitHub Desktop.
Add twitter embed support to the Umbraco embed em all Add this snippet to /config/embeddedMedia.config
<!-- Twitter Settings -->
<provider name="Twitter" type="Umbraco.Web.Media.EmbedProviders.OEmbedRich, umbraco">
<urlShemeRegex><![CDATA[twitter\.com/]]></urlShemeRegex>
<apiEndpoint><![CDATA[https://api.twitter.com/1/statuses/oembed.xml]]></apiEndpoint>
<requestParams type="Umbraco.Web.Media.EmbedProviders.Settings.Dictionary, umbraco">
</requestParams>
</provider>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment