View Source
Embed Provider for X the popular online service for microblogging and social networking.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
public class X : OEmbedProviderBase, IEmbedProvider
Constructors
View Source
Declaration
public X(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 async Task<string> GetMarkupAsync(string url, int? maxWidth, int? maxHeight, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.String |
url |
|
| System.Nullable<System.Int32> |
maxWidth |
|
| System.Nullable<System.Int32> |
maxHeight |
|
| CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| Task<System.String> |
|