admin
10-31-2013, بتوقيت غرينيتش 06:08 AM
http://www.dzbatna.com/images/icons/iconrote.gif طھظƒط¨ظٹط± ط¹ط±ط¶ ط§ظ„ظٹظˆطھظٹظˆط¨ ظپظٹ طµظ†ط¯ظˆظ‚ ط§ظ„ظ…ظˆط¯ظ‡ ظ„ظ„طھط*ط±ظٹط± ط§ظ„ط£طµط¯ط§ط± ط§ظ„ط±ط§ط¨ط¹ (http://www.dzbatna.com/t1782150/)
السلام عليكم ورحمه الله وبركاته
شرح طريقة تكبير عرض اليوتيوب في صندوق الموده للتحرير الأصدار الرابع
اذهب الى
التحكم بالإضافات البرمجية Plugin
ثم
المنتج plugin/Product : أدوات المودة المطورة للتحرير ــ الإصدار الرابع
سوف تجد اسفلها
الفيديو
جنبها كلمه تعديل .. اضغط عليها
وراح يطلع معاك مثل الصوره الموضحه
http://www.dzbatna.com/attachments/551182d1296910350-2.png
وستبدل كود code PHP الخاص بالإضافة بالكود code هذا
رمز PHP:
<code style="white-space:nowrap"> <code> if ((in_array(THIS_SCRIPT,array('showthread','editpos t','newreply','newthread','showpost','private','an nouncement','member','blog','adv_index','usernote' )))) {
$customstring = '$PASSIVEEMBED';
// YouTube
$passiveVid[] = array (
'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?(?:[a-zA-Z]{1,4}\.)?youtube.com/watch\?v=(.{11}?)[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
'replacement' => '$PASSIVETITLE = $matches[2]; $PASSIVEEMBED = \'<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/\'.$matches[1].\'&rel=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\'.$matches[1].\'&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="640" height="385"></embed></object>\'; return "'.$customstring.'";',
'id' => 1
);
$passiveVid[] = array (
'string' => '#\[youtube\]([^\[\]]+)\[/youtube\]#',
'replacement' => 'return \'<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\'.$matches[1].\'&rel=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\'.$matches[1].\'&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>\';',
'id' => 1
);
// Google
$passiveVid[] = array (
'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?video.google.(?:[A-Za-z\.]{2,5})/videoplay\?docid=([0-9\-]+)(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
'replacement' => '$PASSIVETITLE = $matches[2]; $PASSIVEEMBED = \'<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=\'.$matches[1].\'&hl=en" flashvars=""> </embed>\'; return "'.$customstring.'";',
'id' => 2
);
$passiveVid[] = array (
'string' => '#\[googlevideo\]([^\[\]]+)\[/googlevideo\]#',
'replacement' => 'return \'<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=\'.$matches[1].\'&hl=en" flashvars=""> </embed>\';',
'id' => 2
);
// MySpace
$passiveVid[] = array (
'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?vids.myspace.com/index.cfm\?fuseaction=vids\.individual&videoid=(\d {8,15})(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
'replacement' => '$PASSIVETITLE = $matches[2]; $PASSIVEEMBED = \'<embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\'.$matches[1].\'&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed>\'; return "'.$customstring.'";',
'id' => 4
);
$passiveVid[] = array (
'string' => '#\[myspace\]([^\[\]]+)\[/myspace\]#',
'replacement' => 'return \'<embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\'.$matches[1].\'&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed>\';',
'id' => 4
);
// MetaCafe
$passiveVid[] = array (
'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?(?:www\.)?metacafe.com/watch/([0-9]*\/[A-Za-z0-9_]*)(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
'replacement' => '$PASSIVETITLE = $matches[2]; $PASSIVEEMBED = \'<embed src="http://www.metacafe.com/fplayer/\'.$matches[1].\'.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>\'; return "'.$customstring.'";',
'id' => 8
);
$passiveVid[] = array (
'string' => '#\[metacafe\]([^\[\]]+)\[/metacafe\]#',
'replacement' => 'return \'<embed src="http://www.metacafe.com/fplayer/\'.$matches[1].\'.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>\';',
'id' => 8
);
// Yahoo
$passiveVid[] = array (
'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?video.yahoo.com/video/play\?vid=(\d+)&matchid=(\d+)(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
'replacement' => '$PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<embed src="http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf" flashvars="vid=\'.$matches[1].\'&id=\'.$matches[2].\'" type="application/x-shockwave-flash" width="425" height="350"></embed>\'; return "'.$customstring.'";',
'id' => 16
);
$passiveVid[] = array (
'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?video.yahoo.com/watch/(\d+)/(\d+)(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
'replacement' => '$PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<object width="512" height="322"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.30" /><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" VALUE="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="id=\'.$matches[1].\'&vid=\'.$matches[2].\'&embed=1" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.30" type="application/x-shockwave-flash" width="512" height="322" allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" flashVars="id=\'.$matches[1].\'&vid=\'.$matches[2].\'&embed=1" ></embed></object>\'; return "'.$customstring.'";',
'id' => 16
);
}
</code> </code>
والنتيجه
http://www.dzbatna.com/attachments/551183d1296910350-1.png
بالتوفيق
ألعاب الأندرويد مجانا و حصريا (http://www.apotox.info/forum)
الملفات المرفقة
http://www.traidnt.net/vb/images/attach/txt.gif الكود.txt (http://www.traidnt.net/vb/attachments/551184d1296910420-الكود.txt) (5.2 كيلوبايت, عدد مرات المشاهدة 99 مرة)
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©
السلام عليكم ورحمه الله وبركاته
شرح طريقة تكبير عرض اليوتيوب في صندوق الموده للتحرير الأصدار الرابع
اذهب الى
التحكم بالإضافات البرمجية Plugin
ثم
المنتج plugin/Product : أدوات المودة المطورة للتحرير ــ الإصدار الرابع
سوف تجد اسفلها
الفيديو
جنبها كلمه تعديل .. اضغط عليها
وراح يطلع معاك مثل الصوره الموضحه
http://www.dzbatna.com/attachments/551182d1296910350-2.png
وستبدل كود code PHP الخاص بالإضافة بالكود code هذا
رمز PHP:
<code style="white-space:nowrap"> <code> if ((in_array(THIS_SCRIPT,array('showthread','editpos t','newreply','newthread','showpost','private','an nouncement','member','blog','adv_index','usernote' )))) {
$customstring = '$PASSIVEEMBED';
// YouTube
$passiveVid[] = array (
'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?(?:[a-zA-Z]{1,4}\.)?youtube.com/watch\?v=(.{11}?)[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
'replacement' => '$PASSIVETITLE = $matches[2]; $PASSIVEEMBED = \'<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/\'.$matches[1].\'&rel=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\'.$matches[1].\'&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="640" height="385"></embed></object>\'; return "'.$customstring.'";',
'id' => 1
);
$passiveVid[] = array (
'string' => '#\[youtube\]([^\[\]]+)\[/youtube\]#',
'replacement' => 'return \'<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\'.$matches[1].\'&rel=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\'.$matches[1].\'&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>\';',
'id' => 1
);
$passiveVid[] = array (
'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?video.google.(?:[A-Za-z\.]{2,5})/videoplay\?docid=([0-9\-]+)(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
'replacement' => '$PASSIVETITLE = $matches[2]; $PASSIVEEMBED = \'<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=\'.$matches[1].\'&hl=en" flashvars=""> </embed>\'; return "'.$customstring.'";',
'id' => 2
);
$passiveVid[] = array (
'string' => '#\[googlevideo\]([^\[\]]+)\[/googlevideo\]#',
'replacement' => 'return \'<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=\'.$matches[1].\'&hl=en" flashvars=""> </embed>\';',
'id' => 2
);
// MySpace
$passiveVid[] = array (
'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?vids.myspace.com/index.cfm\?fuseaction=vids\.individual&videoid=(\d {8,15})(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
'replacement' => '$PASSIVETITLE = $matches[2]; $PASSIVEEMBED = \'<embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\'.$matches[1].\'&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed>\'; return "'.$customstring.'";',
'id' => 4
);
$passiveVid[] = array (
'string' => '#\[myspace\]([^\[\]]+)\[/myspace\]#',
'replacement' => 'return \'<embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\'.$matches[1].\'&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed>\';',
'id' => 4
);
// MetaCafe
$passiveVid[] = array (
'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?(?:www\.)?metacafe.com/watch/([0-9]*\/[A-Za-z0-9_]*)(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
'replacement' => '$PASSIVETITLE = $matches[2]; $PASSIVEEMBED = \'<embed src="http://www.metacafe.com/fplayer/\'.$matches[1].\'.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>\'; return "'.$customstring.'";',
'id' => 8
);
$passiveVid[] = array (
'string' => '#\[metacafe\]([^\[\]]+)\[/metacafe\]#',
'replacement' => 'return \'<embed src="http://www.metacafe.com/fplayer/\'.$matches[1].\'.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>\';',
'id' => 8
);
// Yahoo
$passiveVid[] = array (
'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?video.yahoo.com/video/play\?vid=(\d+)&matchid=(\d+)(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
'replacement' => '$PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<embed src="http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf" flashvars="vid=\'.$matches[1].\'&id=\'.$matches[2].\'" type="application/x-shockwave-flash" width="425" height="350"></embed>\'; return "'.$customstring.'";',
'id' => 16
);
$passiveVid[] = array (
'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?video.yahoo.com/watch/(\d+)/(\d+)(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
'replacement' => '$PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<object width="512" height="322"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.30" /><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" VALUE="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="id=\'.$matches[1].\'&vid=\'.$matches[2].\'&embed=1" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.30" type="application/x-shockwave-flash" width="512" height="322" allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" flashVars="id=\'.$matches[1].\'&vid=\'.$matches[2].\'&embed=1" ></embed></object>\'; return "'.$customstring.'";',
'id' => 16
);
}
</code> </code>
والنتيجه
http://www.dzbatna.com/attachments/551183d1296910350-1.png
بالتوفيق
ألعاب الأندرويد مجانا و حصريا (http://www.apotox.info/forum)
الملفات المرفقة
http://www.traidnt.net/vb/images/attach/txt.gif الكود.txt (http://www.traidnt.net/vb/attachments/551184d1296910420-الكود.txt) (5.2 كيلوبايت, عدد مرات المشاهدة 99 مرة)
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©