عدد الضغطات : 2,031

 


العودة   ملتقى قبيلة حرب الرسمي > ๑۩۩ الملتقيات العــــامة ۩۩๑ > الـــمـــلـــتـــقـــى الــــــــــعــــــــام > ملتقى برامج الكمبيوتر

ملتقى برامج الكمبيوتر برامج حلول ومشاكل دروس تعليمية في مجال الكمبيوتر والإنترنت.

إضافة رد
 
أدوات الموضوع انواع عرض الموضوع
قديم 11-02-11, 02:18 AM   #1
مستشار شئون الاعضاء
 
الصورة الرمزية الحب الباقي

 











 

الحب الباقي غير متواجد حالياً

الحب الباقي has a reputation beyond reputeالحب الباقي has a reputation beyond reputeالحب الباقي has a reputation beyond reputeالحب الباقي has a reputation beyond reputeالحب الباقي has a reputation beyond reputeالحب الباقي has a reputation beyond reputeالحب الباقي has a reputation beyond reputeالحب الباقي has a reputation beyond reputeالحب الباقي has a reputation beyond reputeالحب الباقي has a reputation beyond reputeالحب الباقي has a reputation beyond repute

Talking تكبير عرض اليوتيوب في صندوق الموده للتحرير الأصدار الرابع

السلام عليكم ورحمه الله وبركاته

شرح تكبير عرض اليوتيوب في صندوق الموده للتحرير الأصدار الرابع

اذهب الى


التحكم بالإضافات البرمجية Plugin


ثم

المنتج/Product : أدوات المودة المطورة للتحرير ــ الإصدار الرابع


سوف تجد
اسفلها

الفيديو


جنبها كلمه تعديل .. اضغط عليها

وراح يطلع معاك مثل الصوره الموضحه




وستبدل كود PHP الخاص بالإضافة بالكود هذا

كود PHP:
if ((in_array(THIS_SCRIPT,array('showthread','editpost','newreply','newthread','showpost','private','announcement','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&amp;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+)&amp;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
        
);
} 
والنتيجه





بالتوفيق





التوقيع :



    رد مع اقتباس
قديم 13-02-11, 02:48 AM   #2
إداري سابق
 
الصورة الرمزية محمدالخضراني

 











 

محمدالخضراني غير متواجد حالياً

محمدالخضراني has a reputation beyond reputeمحمدالخضراني has a reputation beyond reputeمحمدالخضراني has a reputation beyond reputeمحمدالخضراني has a reputation beyond reputeمحمدالخضراني has a reputation beyond reputeمحمدالخضراني has a reputation beyond reputeمحمدالخضراني has a reputation beyond reputeمحمدالخضراني has a reputation beyond reputeمحمدالخضراني has a reputation beyond reputeمحمدالخضراني has a reputation beyond reputeمحمدالخضراني has a reputation beyond repute

افتراضي

مشكووورويعطيك الله العافيه




التوقيع :
    رد مع اقتباس
إضافة رد


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة

الانتقال السريع

IP




Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Designed & TranZ By Almuhajir
Ads Management Version 3.0.1 by Saeed Al-Atwi
ترنكات لخدمات الويب