Methods

convertMediaLinkToEmbedHtml()

convertMediaLinkToEmbedHtml($url, array $options) 

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

_getMediaKeyFromCallback()

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

Parameters

$url

$matchedId

$site

__construct()

__construct() 

 Properties

 

$_bbCodeMediaSites

$_bbCodeMediaSites 

 

$_bbCodeModel

$_bbCodeModel 

 

$_instance

$_instance 

 Constants

   

AUTO_EMBED_MEDIA_DISABLED

AUTO_EMBED_MEDIA_DISABLED 

 

AUTO_EMBED_MEDIA_ENABLED

AUTO_EMBED_MEDIA_ENABLED