SMF Yeni youtube çerçevesi

Son güncelleme: 17.01.2008 12:03
  • [u]/!\[/u]Daha önceden bu youtube modu kuranlar için geçerlidir[u]/!\[/u]

    Sources/Subs.php yi 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[/swf2][swf3]
    if (isset($disabled[\'url\']))
    $tag[\'content\'] = \'$1\';
    $pattern = \'/http:\/\/.+v=(.+)(&.+)*/i\';
    if (preg_match($pattern, $data[0], $matches))
    $data[0] = $matches[1];'),
    'disabled_content' => '<a href="$1" target="_blank">$1</a>',
    ),


    Değiştir
    array(
    'tag' => 'youtube',
    'type' => 'unparsed_commas_content',
    'test' => '\d+,\d+\]',
    'content' => '<center><table width="450" height="375" border="0" cellpadding="2" cellspacing="1" class="bordercolor">
    <tr><td align="center" bgcolor="#FF6600" class="catbg">Youtube Video izle Penceresi</td>
    </tr><tr><td align="center" valign="middle" bgcolor="#CC6600"><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/$1"><param name="wmode" value="transparent"><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></td></tr></table></center>


    ',
    'validate' => create_function('&$tag, &$data, $disabled[/swf2][swf3]
    if (isset($disabled[\'url\']))
    $tag[\'content\'] = \'$1\';'),
    'disabled_content' => '<a href="$1" target="_blank">$1</a>',
    ),


    Videolar eklendiğinde direkt sayfada ortalı bir şekilde çıkar ;)

    Görüntüsü : http://img98.imageshack.us/img98/146/youtubeqf8.jpg
    noimage
#17.01.2008 12:03 0 0 0