Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IEmbedProvider

    Namespace: Umbraco.Cms.Core.Media
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IEmbedProvider

    Properties

    View Source

    ApiEndpoint

    The OEmbed API Endpoint

    Declaration
    string ApiEndpoint { get; }
    Property Value
    Type Description
    System.String
    View Source

    RequestParams

    Declaration
    Dictionary<string, string> RequestParams { get; }
    Property Value
    Type Description
    Umbraco.Cms.Core.Dictionary<System.String, System.String>
    View Source

    UrlSchemeRegex

    A string array of Regex patterns to match against the pasted OEmbed URL

    Declaration
    string[] UrlSchemeRegex { get; }
    Property Value
    Type Description
    System.String[]

    Methods

    View Source

    GetMarkup(String, Int32, Int32)

    Declaration
    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
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • ApiEndpoint
      • RequestParams
      • UrlSchemeRegex
    • Methods
      • GetMarkup(String, Int32, Int32)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX