Created
June 16, 2014 22:45
-
-
Save dougludlow/eda2350168cd7f94dcc6 to your computer and use it in GitHub Desktop.
Umbraco EmbeddedMedia YouTube oEmbed SSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Youtube Settings --> | |
<provider name="Youtube" type="Umbraco.Web.Media.EmbedProviders.OEmbedVideo, umbraco"> | |
<urlShemeRegex><![CDATA[youtu(?:\.be|be\.com)/(?:(.*)v(/|=)|(.*/)?)([a-zA-Z0-9-_]+)]]></urlShemeRegex> | |
<apiEndpoint><![CDATA[http://www.youtube.com/oembed]]></apiEndpoint> | |
<requestParams type="Umbraco.Web.Media.EmbedProviders.Settings.Dictionary, umbraco"> | |
<param name="iframe">1</param> | |
<param name="format">xml</param> | |
<param name="scheme">https</param> | |
</requestParams> | |
</provider> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment