Interface IOEmbedService
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public interface IOEmbedServiceMethods
View SourceGetMarkupAsync(Uri, Nullable<Int32>, Nullable<Int32>, CancellationToken)
Declaration
Task<Attempt<string, OEmbedOperationStatus>> GetMarkupAsync(Uri url, int? width, int? height, CancellationToken cancellationToken)Parameters
| Type | Name | Description | 
|---|---|---|
| Uri | url | |
| System.Nullable<System.Int32> | width | |
| System.Nullable<System.Int32> | height | |
| CancellationToken | cancellationToken | 
Returns
| Type | Description | 
|---|---|
| Task<Attempt<System.String, OEmbedOperationStatus>> |