Reply New Topic
2010/3/15 15:07:28
Home away from home

Re: Format video

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="" />

McDonalds Store

Subject Poster Date
     Format video pelis24 2010/3/15 12:29:21
       Re: Format video Will 2010/3/15 14:47:31
         Re: Format video McDonald 2010/3/15 15:07:28
Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.