#11
Re: Edit template of the module mytube 1.05!! Help
mokman
Posté le : 21/12/2009 02:12
et encore: Citation :// iFilm/Spike case 2: $showvideo = '<embed width="480" height="295" src="http://www.spike.com/efp" quality="high" bgcolor="000000" name="efp" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="flvbaseclip=' . $vidid . '" allowfullscreen="true"> </embed>'; break; // Photobucket case 3: $vidid = str_replace( 'th_', '', $vidid); $showvideo = '<embed width="480" height="295" type="application/x-shockwave-flash" wmode="transparent" src="http://i51.photobucket.com/player.swf ... obucket.com/albums/' . $vidid . '.flv' . $photobucket . '"></embed>'; break; // Viddler case 4: $showvideo = '<embed src="http://www.viddler.com/player/' . $vidid . '/" width="480" height="295" type="application/x-shockwave-flash" ' . $viddler . ' allowScriptAccess="always" allowFullScreen="true" name="viddler_' . $vidid . '" ></embed>'; break; // Google Video case 100: $showvideo = '<embed style="width:480px; height:295px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=' . $vidid . '&hl=en" ' . $google . '> </embed>'; break; // MySpace TV case 101: $showvideo = '<embed src="http://mediaservices.myspace.com/serv ... media/embed.aspx/m=' . $vidid . ',t=1,mt=video,ap=' . $autoplay . '" width="480" height="295" allowFullScreen="true" type="application/x-shockwave-flash"></embed>'; break; // DailyMotion case 102: $showvideo = '<embed src="http://www.dailymotion.com/swf/' . $vidid . '&autoPlay=' . $autoplay . '" type="application/x-shockwave-flash" width="480" height="295" allowFullScreen="true" allowScriptAccess="always"></embed>'; break;
#12
Re: Edit template of the module mytube 1.05!! Help
mokman
Posté le : 21/12/2009 02:15
et encore: Citation :// Blip.tv case 103: $showvideo = '<embed src="http://blip.tv/play/' . $vidid . '" type="application/x-shockwave-flash" width="480" height="295" allowscriptaccess="always" allowfullscreen="true" flashvars="autostart=' . $autoplay3 . '"></embed>'; break; // ClipFish case 104: $showvideo = '<embed src="http://www.clipfish.de/videoplayer.swf?as=' . $autoplay . '&videoid=' . $vidid . '==&r=1&c=0067B3" quality="high" bgcolor="#0067B3" width="464" height="380" name="player" align="middle" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflash ... ></embed>'; // Change c=0067B3 for different player color break; // LiveLeak case 105: $showvideo = '<embed src="http://www.liveleak.com/e/' . $vidid . '" type="application/x-shockwave-flash" flashvars="autostart=' . $autoplay3 . '" wmode="transparent" width="450" height="370"></embed>'; break;
#13
Re: Edit template of the module mytube 1.05!! Help
mokman
Posté le : 21/12/2009 02:16
et encore: Citation :// Maktoob case 106: $showvideo = '<embed width="448" height="320" align="middle" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="flvplayer" bgcolor="#ffffff" devicefont="true" wmode="transparent" quality="high" src="http://clipat.maktoob.com/flvplayerOurJS.swf?file=http://' . $vidid . '.flv&enablejs=true&image=' . $picurl .'&lightcolor=0x557722&backcolor=0x000000&frontcolor=0xCCCCCC&showfsbutton=true&autostart=' . $autoplay3 . '&logo=http://clipat.maktoob.com/language/ar_sa/images/clipat-icon.png&displaywidth=448" />'; break; // Veoh case 107: $showvideo = '<embed src="http://www.veoh.com/veohplayer.swf?permalinkId=' . $vidid . '&id=anonymous&player=videodetailsembedded&affiliateId=&videoAutoPlay=' . $autoplay . '" allowFullScreen="true" width="480" height="295" bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflash ... ></embed>'; break; // Vimeo case 108: $showvideo = '<embed src="http://vimeo.com/moogaloop.swf?clip_id=' . $vidid . '&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1&autoplay=' . $autoplay . '" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" quality="best" width="400" height="321"></embed>'; break; // Megavideo case 109: $showvideo = '<object width="640" height="363"><param name="movie" value="http://www.megavideo.com/v/' . $vidid . '"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.megavideo.com/v/' . $vidid . '" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="363"></embed></object>'; break;
#14
Re: Edit template of the module mytube 1.05!! Help
mokman
Posté le : 21/12/2009 02:17
Et enfin je suis désolé pour se long document mais c'est que sur ce site quand je lai mit au complet sa ne veut pas poster: Citation :// Stagevu case 200: $showvideo = '<object width="640" height="363"><param name="movie" value="http://www.stagevu.com/v/' . $vidid . '"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.stagevu.com/v/' . $vidid . '" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="353"></embed></object>'; break;
// MyTube case 201: $showvideo = '<embed src="' . XOOPS_URL . '/modules/' . $xoopsModule -> getvar( 'dirname' ) . '/include/mediaplayer.swf" width="425" height="350" allowScriptAccess="always" allowFullScreen="true" flashvars="width=425&height=350&file=' . XOOPS_URL . '/' . $xoopsModuleConfig['videodir'] . '/' . $vidid.'&image=' . XOOPS_URL . '/' . $xoopsModuleConfig['videoimgdir'] . '/' . $screenshot . '&autostart=' . $autoplay3 . '"></embed>'; break;
} return $showvideo; } ?>
#15
Re: Edit template of the module mytube 1.05!! Help
mokman
Posté le : 21/12/2009 04:03
D'après ce que j'ai modifié j'ai constater que sa marche toujours pas je vous est fait un screen  Comme vous pouvais le voir il n y a pas stagevu dans la liste 
#16
Re: Edit template of the module mytube 1.05!! Help
cvstate
Posté le : 11/01/2010 05:23
est ce que tu peux changer Stagevu case 200: $showvideo = '<object width="640" height="363"><param name="movie" value=" http://www.stagevu.com/v/' . $vidid . '"></param><param name="allowFullScreen" value="true"></param><embed src=" http://www.stagevu.com/v/' . $vidid . '" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="353"></embed></object>'; break; par Stagevu case 200: $showvideo = '<object width="640" height="363"><param name="movie" value=" http://www.stagevu.com/video/' . $vidid . '"></param><param name="allowFullScreen" value="true"></param><embed src=" http://www.stagevu.com/video/' . $vidid . '" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="353"></embed></object>'; break; c à d, changer http://stagevu.com/v/par http://stagevu.com/video/
#17
Re: Edit template of the module mytube 1.05!! Help
Bonjours à toutes et tous, @mokman (bravo pour ton site) Je crois que le mieux, pour ajouter d'autres liens, c'est de cibler un nom de lien connu, et de suivre dans les fichiers du modules, les codes qui ont été créer pour ce lien. Prenons pour exemple le plus connu, "youtube". Avec un éditeur, je procède à une recherche du mot "youtube", et je trouves tout ceci.
mytube\admin\index.php Ligne 111:
mytube\bugfixlist.txt Ligne 261:
mytube\include\video.php Ligne 24: Ligne 86: Ligne 88: Ligne 141: Ligne 143: Ligne 234: Ligne 236: Ligne 237:
mytube\language\english\admin.php Ligne 243: Ligne 412:
mytube\language\english\main.php Ligne 53: Ligne 71:
mytube\language\english\modinfo.php Ligne 14:
mytube\language\french\admin.php Ligne 246: Ligne 415:
mytube\language\french\main.php Ligne 52: Ligne 70:
mytube\submit.php Ligne 229:
Il devrait alors suffir d'ajouter les codes voulu, en s'inspirent de ceux qui sont déjà créer.
Enfin, c'est une idée car je n'ai pas essayé.
Si tu réussi, pourras-tu nous en faire profiter?
Merci par avance
Bonne journée
Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.
|