Add "Yahoo Video" in module MyTube

Date 2010/6/25 22:00:00 | Topic: Hacks

Changes to achieve :

/***** language/yourlanguage/main.php *****/
add line 211
define'_MD_XTUBE_YAHOO''Yahoo' );


and add line 61
<strong>Yahoo:strong>flashVars="id=color=#FF0000>mycodetoput"(voir le code embed)small>
after
<strong>Viddler:stronghttp://www.viddler.com/player/color=#FF0000>d32d2b94/ (see embed code)


/***** language/yourlanguage/admin.php *****/ add line 506
define'_AM_XTUBE_YAHOO''Yahoo' );


add line 255
<strong>Yahoo:strong>flashVars="id=color=#FF0000>mycodetoput"(see embed code)small>


after
<strong>Viddler:stronghttp://www.viddler.com/player/color=#FF0000>d32d2b94/ (see embed code)


/***** admin/index.php *****/
change and add line 125
109 => _AM_XTUBE_MEGAVIDEO,
110 => _AM_XTUBE_YAHOO


/***** include/video.php *****/
add under line 67
case 110:
          
$returnsource _AM_XTUBE_YAHOO;
          break;


add under line 126
case 110:


add under line 179
case 110:


add under line 314
// yahoo
             
case 110:
            
$showvideo 'value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" 
/>value="#000000" />$vidid '" 
/>src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" 
type="application/x-shockwave-flash" width="512" height="322" 
allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" 
flashVars="id=' 
$vidid '" >';
            break;




See videos (in french - sorry ) on Xoofoo - TV Channel


This article comes from XOOPS Web Application System
https://xoops.org

The URL for this story is:
https://xoops.org/modules/news/article.php?storyid=5459