View Source
Embed Provider for YouTube the popular online video sharing and social media platform provider.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
public class YouTube : EmbedProviderBase, IEmbedProvider
Constructors
View Source
Declaration
public YouTube(IJsonSerializer jsonSerializer)
Parameters
Properties
View Source
Declaration
public override string ApiEndpoint { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Declaration
public override Dictionary<string, string> RequestParams { get; }
Property Value
Type |
Description |
Umbraco.Cms.Core.Dictionary<System.String, System.String> |
|
View Source
Declaration
public override string[] UrlSchemeRegex { get; }
Property Value
Type |
Description |
System.String[] |
|
Methods
View Source
Declaration
public override string GetMarkup(string url, int maxWidth = 0, int maxHeight = 0)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.Int32 |
maxWidth |
|
System.Int32 |
maxHeight |
|
Returns
Type |
Description |
System.String |
|