Class RteEmbedController
A controller used for the embed dialog
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Namespace: Umbraco.Cms.Web.BackOffice.PropertyEditors
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class RteEmbedController : UmbracoAuthorizedJsonController
Constructors
View SourceRteEmbedController(EmbedProvidersCollection, ILogger<RteEmbedController>)
Declaration
public RteEmbedController(EmbedProvidersCollection embedCollection, ILogger<RteEmbedController> logger)
Parameters
| Type | Name | Description |
|---|---|---|
| EmbedProvidersCollection | embedCollection | |
| Microsoft.Extensions.Logging.ILogger<RteEmbedController> | logger |
Methods
View SourceGetEmbed(String, Int32, Int32)
Declaration
public OEmbedResult GetEmbed(string url, int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | url | |
| System.Int32 | width | |
| System.Int32 | height |
Returns
| Type | Description |
|---|---|
| OEmbedResult |