Methods

convertMediaLinkToEmbedHtml()

convertMediaLinkToEmbedHtml($url, array $options) 
Static

Parameters

$url

$options

Attempts to match a URL to a BB code media site, and produce the appropriate [media] tag

_convertMediaLinkToEmbedHtml(string $url, array $options) : string | boolean

Parameters

$url

string

$options

array

Returns

stringboolean

_getAllBbCodeMediaSites()

_getAllBbCodeMediaSites() 

_getBbCodeModel()

_getBbCodeModel() : \XenForo_Model_BbCode

Gets the browsing user's info.

_getInstance() : \XenForo_Visitor
Static

_getMediaKeyFromCallback()

_getMediaKeyFromCallback($url, $matchedId, array $site) 

Parameters

$url

$matchedId

$site

__construct()

__construct() 

 Properties

 

$_bbCodeMediaSites 
 

$_bbCodeModel 
 

$_instance 

 Constants

   

AUTO_EMBED_MEDIA_DISABLED

AUTO_EMBED_MEDIA_DISABLED 
 

AUTO_EMBED_MEDIA_ENABLED

AUTO_EMBED_MEDIA_ENABLED