Aqui vou explicar como colocar os MOD de videos Manualmente..
Youtube, Google, Metacafe, Mynet, Livevideo, Birghtcove, VidiVodo, İzlesene
Depois de passar as imagens para a pasta /image/bbc do nosso tema
Ir a pasta souces/
subs.phpPesquisar pelo codigo:array(
'tag' => 'green',
'before' => '<span style="color: green;">',
'after' => '</span>',
),
[logged]
array(
'tag' => 'mynet',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<object width="400" height="334"><param name="movie" value="http://vdo.mynet.com/e/$1" ></param><embed src="http://vdo.mynet.com/e/$1" type="application/x-shockwave-flash" wmode="transparent" width="400" height="334"></embed></object>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'bright',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<embed src="http://admin.brightcove.com/destination/player/player.swf" bgcolor="#FFFFFF" flashVars="allowFullScreen=true&initVideoId=$1&servicesURL=http://www.brightcove.com&viewerSecureGatewayURL=https://www.brightcove.com&cdnURL=http://admin.brightcove.com&autoStart=false" base="http://admin.brightcove.com" width="486" height="412" type="application/x-shockwave-flash" wmode="transparent"></embed>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'vidivodo',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<embed src="http://www.vidivodo.com/VideoPlayerShare.swf?lang=tr&vidID=$1.flv" type="application/x-shockwave-flash" wmode="transparent" width="425" height="343"></embed>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'izlesene',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<embed src="http://www.izlesene.com/player2.swf?video=$1" wmode="transparent" width="432" height="344" type="application/x-shockwave-flash"></embed>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'youtube',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<object width="$2" height="$3"><param name="movie" value="http://www.youtube.com/v/$1" ></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'google',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=$1&hl=en" flashvars=""></embed> ',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'metacafe',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<embed src="http://www.metacafe.com/fplayer/$1.swf" type="application/x-shockwave-flash" width="400" height="345"></embed>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'livevideo',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<embed src="http://www.livevideo.com/flvplayer/embed/$1" type="application/x-shockwave-flash" quality="high" WIDTH="445" HEIGHT="369" wmode="transparent"></embed>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
[/logged]
Passo seguinte e ir ao Nosso tema e encontar esse ficheiros...
display.template.php ou
post.template.phpPodemos pesquisar por este codigo'ftp' => array('code' => 'ftp', 'before' => '[ftp=', 'after' => ']', 'after' => '[/ftp]', 'description' => $txt[434]),
depois colocar o código
[logged]
array(),
'youtube' => array('code' => 'youtube', 'before' => '[youtube=425,350]', 'after' => '[/youtube]', 'description' => Youtube),
'google' => array('code' => 'google', 'before' => '[google=400,326]', 'after' => '[/google]', 'description' => Google),
'metacafe' => array('code' => 'metacafe', 'before' => '[metacafe=400,345]', 'after' => '[/metacafe]', 'description' => Metacafe),
'mynet' => array('code' => 'mynet', 'before' => '[mynet=400,334]', 'after' => '[/mynet]', 'description' => Mynet),
'livevideo' => array('code' => 'livevideo', 'before' => '[livevideo=445,369]', 'after' => '[/livevideo]', 'description' => Livevideo),
'bright' => array('code' => 'bright', 'before' => '[bright=486,412]', 'after' => '[/bright]', 'description' => Brightcove),
'vidivodo' => array('code' => 'vidivodo', 'before' => '[vidivodo=425,343]', 'after' => '[/vidivodo]', 'description' => Vidivodo),
'izlesene' => array('code' => 'izlesene', 'before' => '[izlesene=432,344]', 'after' => '[/izlesene]', 'description' => izlesene),
[/logged]
Mais informações o poste fica aberto para tal