Autor Tópico: veoh Bbc  (Lida 4908 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
veoh Bbc
« em: 19 de Fevereiro de 2011, 22:29 »
Subs.php

Código: [Seleccione]
array( 'tag' => 'green', 'before' => '<span style="color: green;">', 'after' => '</span>', ),
Código: [Seleccione]
array( 'tag' => 'veoh', 'type' => 'unparsed_commas_content', 'test' => '\d+,\d+\]', 'content' => '<object width="$2" height="$3"><param name="movie" value="http://www.veoh.com/videos/$1" ></param><embed src="http://www.veoh.com/videodetails.swf?permalinkId=$1&id=1&player=videodetails&videoAutoPlay=0" width="$2" height="$3" bgcolor="#000000" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>', 'validate' => create_function('&$tag, &$data, $disabled', ' if (isset($disabled[\'url\'])) $tag[\'content\'] = \'$1\';'), 'disabled_content' => '<a href="$1" target="_blank">$1</a>', ),
Post.template.php

Código: [Seleccione]
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
Código: [Seleccione]
'veoh' => array('code' => 'veoh', 'before' => '[veoh=425,350]', 'after' => '[/veoh]', 'description' => $txt['veoh']),


Modifications.teuidioma.php

Código: [Seleccione]
?>
Código: [Seleccione]
$txt['veoh'] = 'veoh';

Citar
[veoh=width,height]videoID[/veoh]

http://www.veoh.com/videos/tyjhku87uıyoph

[veoh=425,350]tyjhku87uıyoph[/veoh]