Search Results for

    Show / Hide Table of Contents
    View Source

    Class DailyMotion

    Embed Provider for Dailymotion the popular online video-sharing platform.

    Inheritance
    object
    OEmbedProviderBase
    Namespace: Umbraco.Cms.Core.Media.EmbedProviders
    Assembly: Umbraco.Core.dll
    Syntax
    public class DailyMotion : OEmbedProviderBase, IEmbedProvider

    Constructors

    View Source

    DailyMotion(IJsonSerializer)

    Declaration
    public DailyMotion(IJsonSerializer jsonSerializer)
    Parameters
    Type Name Description
    IJsonSerializer jsonSerializer

    Properties

    View Source

    ApiEndpoint

    The OEmbed API Endpoint

    Declaration
    public override string ApiEndpoint { get; }
    Property Value
    Type Description
    string
    View Source

    RequestParams

    A collection of querystring request parameters to append to the API URL

    Declaration
    public override Dictionary<string, string> RequestParams { get; }
    Property Value
    Type Description
    Dictionary<string, string>
    Examples

    ?key=value&key2=value2

    View Source

    UrlSchemeRegex

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

    Declaration
    public override string[] UrlSchemeRegex { get; }
    Property Value
    Type Description
    string[]

    Methods

    View Source

    GetMarkupAsync(string, int?, int?, CancellationToken)

    Declaration
    public override Task<string?> GetMarkupAsync(string url, int? maxWidth, int? maxHeight, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    string url
    int? maxWidth
    int? maxHeight
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<string>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX