Hacks

Add "Yahoo Video" in module MyTube

kris_fr  25-Jun-2010 21:07 7356 Reads   6 Comment(s) 
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

Rating 0/5
Rating: 0/5 (0 votes)
Voting is disabled!


Login

Who's Online

230 user(s) are online (5 user(s) are browsing Publisher)


Members: 0


Guests: 230


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits

Categories