View Source
  
  
  
  
  Assembly: Umbraco.Core.dll
  
  
    public interface IEmbedProvider
   
  Properties
  
  
    View Source
  
  
  
  
  Declaration
  
    string ApiEndpoint { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  
  
  
  Declaration
  
    Dictionary<string, string> RequestParams { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | Umbraco.Cms.Core.Dictionary<System.String, System.String> |  | 
    
  
  
    View Source
  
  
  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
  
  
  
  
  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 |  |