This page has been robot translated, sorry for typos if any. Original content here.

We add BB-code / media to our sites

Go here: Home> Post Content> Manage Media Tag> Add Media Tag ...

Facebook Videos

  • Media Replacement Title: Facebook Videos
  • Media Replacement Match: https?: // (?: Www.)? Facebook.com/ \ S + / videos / (\ d +) /?
  • Site URL: http://rutube.ru
  • Show users this site in the list of supported - On.
  • Matches URL: rutube.ru/tracks/*.html?v={$id}

Media Replacement HTML:

 <iframe src = "http://www.facebook.com/video/embed?video_id=$1" width = "640" height = "400" frameborder = "0"> </ iframe>

To make it more convenient, the ready media tag facebook_video.xml (save and import into CP):

 <? xml version = "1.0" encoding = "utf-8"?>
 <mediatagexport>
  <mediataggroup>
  <mediatag>
  <mediatag_name> Facebook Videos </ mediatag_name>
  <mediatag_match> <! [CDATA [https?: // (?: www.)? facebook.com/ \ S + / videos / (\ d +) /?]]> </ mediatag_match>
  <mediatag_replace> <! [CDATA [<iframe src = "http://www.facebook.com/video/embed?video_id=$1" width = "640" height = "400" frameborder = "0"> </ iframe >]]> </ mediatag_replace>
  </ mediatag>
  </ mediataggroup>
 </ mediatagexport>

Home> BB-codes and smileys> Sites for BB-code media> Add a site for the BB-code media

RuTube.ru

  • Media site ID: rutube
  • Site name: RuTube
  • Site URL: http://rutube.ru
  • Show users this site in the list of supported - On.
  • Matches URL: rutube.ru/tracks/*.html?v={$id}

HTML embed code:

 <object width = "470" height = "353">
  <param name = "movie" value = "http://video.rutube.ru/{$id}" />
  <param name = "wmode" value = "window" />
  <param name = "allowFullScreen" value = "true" />
  <embed src = "http://video.rutube.ru/{$id}" type = "application / x-shockwave-flash" wmode = "window" width = "500" height = "376" allowFullScreen = "true "> </ embed>
 </ object>

To make it clearer what to insert, on RuTube in the section "Link and code", copy "Code for Li.Ru", from there we cut out a link of this kind:

  http://video.rutube.ru/b025aff4ac0a9cd7b79da713daf52f13 

Smotri.com

  • Media Site ID: smotricom
  • Site name: Smotri.com
  • Site URL: http://smotri.com
  • Show users this site in the list of supported - On.
  • URL matches: smotri.com/video/view/?id={$id}

HTML embed code:

 <object width = "500" height = "281">
  <param name = "movie" value = "http://pics.smotri.com/player.swf?file={$id}&bufferTime=3&autoStart=false&str_lang=rus&xmlsource=http://pics.smotri.com/cskins/ blue / skin_color.xml & xmldatasource = http: //pics.smotri.com/skin_ng.xml "/>
  <param name = "allowScriptAccess" value = "always" />
  <param name = "allowFullScreen" value = "true" />
  <param name = "bgcolor" value = "# ffffff" />
  <embed src = "http://pics.smotri.com/player.swf?file={$id}&bufferTime=3&autoStart=false&str_lang=rus&xmlsource=http://pics.smotri.com/cskins/blue/skin_color.xml&xmldatasource = http: //pics.smotri.com/skin_ng.xml "quality =" high "allowscriptaccess =" always "allowfullscreen =" true "wmode =" opaque "width =" 500 "height =" 281 "type =" application / x-shockwave-flash "> </ embed>
 </ object>

U-Tube.ru

  • Media site ID: utube
  • Site name: u-tube.ru
  • Site URL: http://u-tube.ru
  • Show users this site in the list of supported - On.
  • Matches URL: http://www.u-tube.ru/pages/video/{$id}

HTML embed code:

		 <embed src = "http://www.u-tube.ru/upload/others/flvplayer.swf?201102" width = "640" height = "480" allowfullscreen = "true" allowscriptaccess = "always" flashvars = " file = http: //www.u-tube.ru/playlist.php? id = {$ id} & width = 640 & height = 480 "/>
	

videobb.com

  • ID of the media site: videobb
  • Site name: videobb.com
  • Website URL: http://www.videobb.com
  • Show users this site in the list of supported - On.
  • Matches URL: http://www.videobb.com/video/{$id}

HTML embed code:

 <object id = "player" width = "640" height = "505" classid = "clsid: d27cdb6e-ae6d-11cf-96b8-444553540000">
  <param name = "movie" value = "http://www.videobb.com/e/{$id}" />
  <param name = "allowFullScreen" value = "true" />
  <param name = "allowscriptaccess" value = "always" />
  <embed src = "http://www.videobb.com/e/{$id}" type = "application / x-shockwave-flash" allowscriptaccess = "always" allowfullscreen = "true" width = "640" height = "505"> </ embed>
 </ object>

GameTrailers.com

  • ID of the media site: gametrailers
  • Site name: GameTrailers
  • Website URL: http://www.gametrailers.com
  • Show users this site in the list of supported - On.
  • Matches URL: gametrailers.com/video/*/{$id}

HTML embed code:

		 <embed src = "http://www.gametrailers.com/remote_wrap.php?mid={$id}" swLiveConnect = "true" name = "gtembed" align = "middle" allowScriptAccess = "sameDomain" quality = "high "pluginspage =" http://www.macromedia.com/go/getflashplayer "type =" application / x-shockwave-flash "width =" 480 "height =" 409 "> </ embed>
	

24video.net

  • Media Site ID: 24video
  • Site name: 24video.net
  • Site URL: http://www.24video.net
  • Show users this site in the list of supported - On.
  • URL Matches: http://www.24video.net/video/view/{$id}

HTML embed code:

 <object classid = "clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19, 0 "width =" 640 "height =" 360 "id =" 24video_player_b81a804fa17e71d5db06b6eb2185bd60_1097910 "name =" player ">
  <param name = "movie" value = "http://www.24video.net/player/28.04.10/new24_play.swf" />
  <param name = "quality" value = "high" />
  <param name = "flashVars" value = "id = {$ id} & idHtml = / video / xml / & idView = / video / view / & rootUrl = http: //www.24video.net&playerCode=/video/playerCode/&playerPath=/ player / 28.04.10 / new24_play.swf "/>
  <param name = "allowFullScreen" value = "true" />
  <param name = "AllowScriptAccess" value = "always" />
  <param name = "wmode" value = "opaque" />
  <embed src = "http://www.24video.net/player/28.04.10/new24_play.swf" name = "embed" width = "640" height = "360" quality = "high" pluginspage = "http: //www.macromedia.com/go/getflashplayer "type =" application / x-shockwave-flash "flashVars =" id = {$ id} & idHtml = / video / xml / & idView = / video / view / & rootUrl = http: //www.24video.net&playerCode=/video/playerCode/&playerPath=/player/28.04.10/new24_play.swf "allowFullScreen =" true "AllowScriptAccess =" always "wmode =" opaque "/>
 </ object>

Yahoo! Video

  • Media site ID: yahoo
  • Site name: Yahoo
  • Site URL: http://www.yahoo.com
  • Show users this site in the list of supported - On.
  • Matches URL: http: //*video.yahoo.com/*/*/*- {$ id} .html
  • URL matches: http: //*.yahoo.com/? Vid = {$ id}

HTML embed code:

 <object width = "576" height = "324">
  <param name = "movie" value = "http://d.yimg.com/nl/vyc/site/player.swf" />
  <param name = "flashVars" value = "vid = {$ id} & lang = en-US &" />
  <param name = "allowfullscreen" value = "true" />
  <param name = "wmode" value = "transparent" />
  <embed width = "576" height = "324" allowFullScreen = "true" src = "http://d.yimg.com/nl/vyc/site/player.swf" type = "application / x-shockwave-flash "flashvars =" vid = {$ id} & lang = en-US & "> </ embed>
 </ object>

Dailymotion.com

  • Media site ID: dailymotion
  • Site name: Dailymotion
  • Site URL: http://www.dailymotion.com
  • Show users this site in the list of supported - On.
  • URL Matches: http://www.dailymotion.com/video/{$id}

HTML embed code:

 <object width = "560" height = "315">
  <param name = "movie" value = "http://www.dailymotion.com/swf/video/{$id}?background=493D27&foreground=E8D9AC&highlight=FFFFF0" />
  <param name = "allowFullScreen" value = "true" />
  <param name = "allowScriptAccess" value = "always" />
  <embed type = "application / x-shockwave-flash" src = "http://www.dailymotion.com/swf/video/{$id}?background=493D27&foreground=E8D9AC&highlight=FFFFF0" width = "560" height = "315" allowfullscreen = "true" allowscriptaccess = "always"> </ embed>
 </ object>

Sport-express.com

  • ID of a media site: sportexpress
  • Site name: Sport-Express
  • Site URL: http://video.sport-express.ru
  • Show users this site in the list of supported - On.
  • URL Matches: http://video.sport-express.ru/*/{$id}/

HTML embed code:

 <object width = "540" height = "304" align = "middle">
  <param name = "allowfullscreen" value = "true" />
  <param value = "sameDomain" name = "allowScriptAccess" />
  <param value = "http://video.sport-express.ru/flash/player.swf" name = "movie" />
  <param value = "high" name = "quality" />
  <param value = "# ffffff" name = "bgcolor" />
  <param name = "flashvars" value = "video_dir = http: //video.sport-express.ru&clip_id= {$ id}" />
  <embed width = "540" height = "304" align = "middle" type = "application / x-shockwave-flash" allowfullscreen = "true" allowscriptaccess = "sameDomain" bgcolor = "# ffffff" quality = "high" flashvars = "video_dir = http: //video.sport-express.ru&clip_id= {$ id}" src = "http://video.sport-express.ru/flash/player.swf" />
 </ object>

Soundcloud.com

Only for XenForo 1.1 and higher? (note the last sentence)?

  • Media site ID: soundcloud
  • Site name: SoundCloud
  • Site URL: http://soundcloud.com
  • Show users this site in the list of supported - On.
  • URL matches: #http: // soundcloud \ .com / (? P <id> [\ -a-z0-9_] + / [\ -a-z0-9_] +) $ # siU

HTML embed code:

 <object height = "81" width = "100%">
  <param name = "movie" value = "http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2F{$id}&g=bb" />
  <param name = "allowscriptaccess" value = "always" />
  <embed allowscriptaccess = "always" height = "81" src = "http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2F{$id}&g=bb" type = "application / x-shockwave-flash" width = "100%" />
 </ object>

It is also necessary to enable the option 'Process' URL matches' in the Advanced settings as regular PCRE expressions.