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 |
---|---|---|
Embed |
embedCollection | |
Microsoft. |
logger |
Methods
View SourceGetEmbed(String, Int32, Int32)
Declaration
public OEmbedResult GetEmbed(string url, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System. |
url | |
System. |
width | |
System. |
height |
Returns
Type | Description |
---|---|
OEmbed |