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=<font
color=#FF0000>mycodetoput</font>"
(voir le code embed)</small>
after
<strong>Viddler:</stronghttp://www.viddler.com/player/<font
color=#FF0000>d32d2b94</font>/ (see embed code)</small><br />


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


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


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


/***** 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 '<object width="512" height="322"><param name="movie" 
value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" 
/><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" VALUE="always" /><param name="bgcolor" 
value="#000000" /><param name="flashVars" value="' 
$vidid '" 
/><embed
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 '" ></embed></object>';
            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