Re: Format video |
by McDonald on 2010/3/15 15:07:28 That's MyTube. Store the source icons in the folder mytube/images/icon/ and name the icons as: 0.gif, 1.gif, 2.gif, etc. The number represents the source, see the function xtube_returnsource in the file include/video.php (0=youtube, 1=metacafe, 2=ifilm, etc) At the end of include/videoload.php add this line: $video['vidsource'] = $video_arr['vidsource']; In file templates/xoopstube_videoload.html add the following where you want the icon: <img src="<{$xoops_url}>/modules/mytube/images/icon/<{$video.vidsource}>.gif" alt="" /> |
Re: Format video |
by Will on 2010/3/15 14:47:31 what module is this? |
Format video |
by pelis24 on 2010/3/15 12:29:21 Hi, I want to add the icon for each video eg youtube ... Example: ![]() thanks. |