Thanks i´ve done jet but its "only blank"...no video seen
please look here to see what i mean.
http://www.rc-freunde-schwarzwald.de/viewtopic.php?t=36&p=44#p44
Edit:
this Code changes i´ve done
includes/bbcb_mg.php
find
'L_BBCB_MG_YOUTUBE' => $lang['bbcb_mg_youtube'],
add after
'L_BBCB_MG_MYVIDEO' => $lang['bbcb_mg_myvideo'],
find
'L_YOUTUBE_HELP' => $lang['s_youtube_help'],
add after
'L_MYVIDEO_HELP' => $lang['s_myvideo_help'],
includes/bbcb_mg_small.php
find
'L_BBCB_MG_YOUTUBE' => $lang['bbcb_mg_youtube'],
add after
'L_BBCB_MG_MYVIDEO' => $lang['bbcb_mg_myvideo'],
find
'L_YOUTUBE_HELP' => $lang['s_youtube_help'],
add after
'L_MYVIDEO_HELP' => $lang['s_myvideo_help'],
includes/bbcode.php
find
'youtube' => array(
'nested' => true,
'inurl' => true,
'allow_empty' => false,
),
add after
'myvideo' => array(
'nested' => true,
'inurl' => true,
'allow_empty' => false,
),
find
// FLASH, SWF, FLV, VIDEO, REAL, QUICK, STREAM, EMFF, YOUTUBE, GOOGLEVIDEO
add in line after YOUTUBE
find
if( ($tag === 'flash') || ($tag === 'swf') || ($tag === 'flv') || ($tag === 'video') || ($tag === 'ram') || ($tag === 'quick') || ($tag === 'stream') || ($tag === 'emff') || ($tag === 'mp3') || ($tag === 'youtube') || ($tag === 'googlevideo') )
add in line after
find
elseif ($tag === 'youtube')
{
$html = '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/' . $content . '" /><embed src="http://www.youtube.com/v/' . $content . '" type="application/x-shockwave-flash" width="425" height="350"></embed></object><br /><a href="http://youtube.com/watch?v=' . $content . '" target="_blank">Link</a><br />';
}
add after
elseif ($tag === 'myvideo')
{
$html = '<object width="425" height="350"><param name="movie" value="http://www.myvideo.de/movie/' . $content . '" /><embed src="http://www.myvideo.de/movie/' . $content . '" type="application/x-shockwave-flash" width="425" height="350"></embed></object><br /><a href="http://www.myvideo.de/watch/' . $content . '" target="_blank">Link</a><br />';
}
language/lang_german/bbcb_mg.js
find
s_youtube_insert = 'Bitte YouTube Datei ID eingeben';
add after
s_myvideo_insert = 'Bitte MyVideo Datei ID eingeben';
find
s_youtube_help = 'YouTube Video-Datei einfügen: [youtube]YouTube ID[/youtube]';
add after
s_myvideo_help = 'Myvideo Video-Datei einfügen: [myvideo]MyVideo ID[/myvideo]';
find
add after
find
'[youtube]','[/youtube]',
add after
'[myvideo]','[/myvideo]',
find
function BBCyoutube()
{
var FoundErrors = '';
var enterURL = prompt(s_youtube_insert, s_id_insert_tip);
if (!enterURL)
{
FoundErrors += s_id_insert_error;
}
if (FoundErrors)
{
alert(s_gen_error + FoundErrors);
return;
}
var ToAdd = "[youtube]"+enterURL+"[/youtube]";
PostWrite(ToAdd);
}
add after
function BBCmyvideo()
{
var FoundErrors = '';
var enterURL = prompt(s_myvideo_insert, s_id_insert_tip);
if (!enterURL)
{
FoundErrors += s_id_insert_error;
}
if (FoundErrors)
{
alert(s_gen_error + FoundErrors);
return;
}
var ToAdd = "[myvideo]"+enterURL+"[/myvideo]";
PostWrite(ToAdd);
}
language/lang_german/bbcb_mg.php
find
$lang['bbcb_mg_youtube'] = 'YouTube';
add after
$lang['bbcb_mg_myvideo'] = 'MyVideo';
find
$lang['s_youtube_help'] = 'YouTube Datei einfügen: [youtube]YouTube ID[/youtube]';
add after
$lang['s_myvideo_help'] = 'MyVideo Datei einfügen: [myvideo]myvideo ID[/myvideo]';
templates/common/iconize.css
find
a[href *="youtube.com/watch?"], a[href *="sevenload.com/videos/"], a[href *="metacafe.com/watch/"] {
padding: 5px 20px 5px 0;
background: transparent url(images/icons/icon_film.gif) no-repeat center right;
}
in line add
a[href *="myvideo.de/watch/"],
templates/mg_themes/bbcb_mg.tpl
find
<a href="javascript:BBCyoutube()"><img src="{BBCB_MG_IMG_PATH}youtube{BBCB_MG_IMG_EXT}" name="youtube" onMouseOver="helpline('youtube')" alt="{L_BBCB_MG_YOUTUBE}" title="{L_BBCB_MG_YOUTUBE}" class="bbimages" /></a>
add after
<a href="javascript:BBCmyvideo()"><img src="{BBCB_MG_IMG_PATH}myvideo{BBCB_MG_IMG_EXT}" name="myvideo" onMouseOver="helpline('myvideo')" alt="{L_BBCB_MG_MYVIDEO}" title="{L_BBCB_MG_MYVIDEO}" class="bbimages" /></a>
images/bbcb_mg/images/gif
add myvideo.gif
now i can embed myvideo...