Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Video Gallery
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #50
RE: Video Gallery
You need a plugin for that.

If you don't mind for using a plugin, you can try this (attached)
Edit this line in the plguin as your needs:

PHP Code:
86
87
$xt_video_fid = 2;// XThreads Video Gallery forum id
$xt_video_limit = 5;// Max num of latest videos displayed on profile

Edit the xt_lvop_latest_videos and/or xt_lvop_latest_videos_video template as your needs. By default, it displays the thumbnail (the image uploaded from your xtmv_thumb custom thread fields).

If you want displaying the video (more than one video), you need to edit the Display Format of your xtmv_flv custom thread fields, something like this (depends on the player you use):

HTML Code
<a href="{URL}" style="display:block; width:520px; height:330px" id="player_{MD5HASH}"></a> 
<script>
	flowplayer("player_{MD5HASH}", "{$GLOBALS['mybb']->settings['bburl']}/flowplayer/flowplayer-3.2.7.swf");
</script>

Call the flowplayer in your member_profile template (you can put it after the {$headerinclude} variable):

HTML Code
<script type="text/javascript" src="flowplayer/flowplayer-3.2.6.min.js"></script>

Then replace the {$GLOBALS['threadfields']['xtmv_thumb']['value']} variable with {$GLOBALS['threadfields']['xtmv_flv']['value']} in your xt_lvop_latest_videos_video template.



Attached File(s)
.php  xt_lvop.php (Size: 5.09 KB / Downloads: 508)

05-19-2012 02:38 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Video Gallery - RateU - 02-17-2011, 08:36 AM
RE: Video Gallery - ZiNgA BuRgA - 02-17-2011, 10:04 AM
RE: Video Gallery - leefish - 02-17-2011, 09:10 PM
RE: Video Gallery - RocketFoot - 02-17-2011, 11:20 PM
RE: Video Gallery - RateU - 02-18-2011, 06:05 AM
RE: Video Gallery - RocketFoot - 02-18-2011, 06:57 AM
RE: Video Gallery - ZiNgA BuRgA - 02-18-2011, 08:15 AM
RE: Video Gallery - RateU - 02-18-2011, 09:44 AM
RE: Video Gallery - ZiNgA BuRgA - 02-18-2011, 09:52 AM
RE: Video Gallery - RateU - 02-18-2011, 09:59 AM
RE: Video Gallery - RateU - 02-23-2011, 06:15 AM
RE: Video Gallery - hamed.ramzi - 06-01-2011, 07:53 PM
RE: Video Gallery - RateU - 06-02-2011, 01:49 AM
RE: Video Gallery - hamed.ramzi - 06-02-2011, 01:57 AM
RE: Video Gallery - RateU - 06-02-2011, 02:03 AM
RE: Video Gallery - hamed.ramzi - 06-02-2011, 03:22 AM
RE: Video Gallery - RateU - 06-02-2011, 04:26 AM
RE: Video Gallery - hamed.ramzi - 06-02-2011, 05:18 AM
RE: Video Gallery - RateU - 06-02-2011, 05:36 AM
RE: Video Gallery - hamed.ramzi - 06-02-2011, 05:54 AM
RE: Video Gallery - RateU - 06-02-2011, 06:03 AM
RE: Video Gallery - ZiNgA BuRgA - 06-02-2011, 08:44 AM
RE: Video Gallery - hamed.ramzi - 06-03-2011, 01:10 PM
RE: Video Gallery - ZiNgA BuRgA - 06-03-2011, 03:39 PM
RE: Video Gallery - hamed.ramzi - 06-03-2011, 05:25 PM
RE: Video Gallery - hamed.ramzi - 06-03-2011, 08:28 PM
RE: Video Gallery - ZiNgA BuRgA - 06-03-2011, 11:28 PM
RE: Video Gallery - av8r_bra - 06-05-2011, 01:49 PM
RE: Video Gallery - RateU - 06-06-2011, 02:17 AM
RE: Video Gallery - ZiNgA BuRgA - 06-06-2011, 06:28 PM
RE: Video Gallery - av8r_bra - 06-07-2011, 07:17 PM
RE: Video Gallery - RateU - 06-09-2011, 02:19 AM
RE: Video Gallery - ZiNgA BuRgA - 06-09-2011, 09:06 AM
RE: Video Gallery - av8r_bra - 06-09-2011, 04:57 PM
RE: Video Gallery - ZiNgA BuRgA - 06-09-2011, 09:33 PM
RE: Video Gallery - awww - 06-15-2011, 10:43 AM
RE: Video Gallery - RateU - 06-16-2011, 01:15 AM
RE: Video Gallery - awww - 06-16-2011, 01:40 AM
RE: Video Gallery - RateU - 06-16-2011, 02:33 AM
RE: Video Gallery - av8r_bra - 06-18-2011, 11:43 PM
RE: Video Gallery - RateU - 06-19-2011, 03:16 AM
RE: Video Gallery - kyuubie - 01-26-2012, 08:09 AM
RE: Video Gallery - RateU - 01-27-2012, 06:45 AM
RE: Video Gallery - Glas - 03-23-2012, 02:16 AM
RE: Video Gallery - leefish - 03-23-2012, 03:07 AM
RE: Video Gallery - Sama34 - 03-23-2012, 01:50 PM
RE: Video Gallery - Glas - 03-23-2012, 02:29 PM
RE: Video Gallery - RateU - 03-24-2012, 05:01 AM
RE: Video Gallery - LiBeRtY - 05-18-2012, 10:44 PM
RE: Video Gallery - RateU - 05-19-2012 02:38 AM
RE: Video Gallery - LiBeRtY - 05-19-2012, 04:31 AM
RE: Video Gallery - MrBrechreiz - 05-19-2012, 06:26 AM
RE: Video Gallery - ZiNgA BuRgA - 05-19-2012, 12:10 PM
RE: Video Gallery - MrBrechreiz - 05-20-2012, 01:17 AM
RE: Video Gallery - RateU - 05-20-2012, 03:31 AM
RE: Video Gallery - MrBrechreiz - 05-20-2012, 04:12 AM
RE: Video Gallery - LiBeRtY - 05-20-2012, 05:58 AM
RE: Video Gallery - RateU - 05-20-2012, 06:17 AM
RE: Video Gallery - LiBeRtY - 05-21-2012, 01:47 AM
RE: Video Gallery - ZiNgA BuRgA - 05-20-2012, 08:32 AM
RE: Video Gallery - RateU - 05-21-2012, 07:15 AM
RE: Video Gallery - lenkbreak - 09-02-2012, 03:35 PM
RE: Video Gallery - RateU - 09-02-2012, 11:41 PM
RE: Video Gallery - lenkbreak - 09-02-2012, 11:55 PM
RE: Video Gallery - RateU - 09-03-2012, 12:19 AM
RE: Video Gallery - lenkbreak - 09-03-2012, 12:49 AM
RE: Video Gallery - lenkbreak - 09-03-2012, 01:15 PM
RE: Video Gallery - RateU - 09-04-2012, 02:04 AM
RE: Video Gallery - lenkbreak - 09-04-2012, 12:58 PM
RE: Video Gallery - RateU - 10-08-2012, 02:48 AM
RE: Video Gallery - HumanError - 06-19-2015, 10:45 PM
RE: Video Gallery - leefish - 06-20-2015, 01:46 PM
RE: Video Gallery - HumanError - 07-21-2015, 03:24 AM
RE: Video Gallery - terzier - 03-18-2016, 08:38 PM
RE: Video Gallery - ZiNgA BuRgA - 03-19-2016, 10:39 AM
RE: Video Gallery - terzier - 03-19-2016, 10:28 PM
RE: Video Gallery - terzier - 05-23-2016, 05:53 PM
RE: Video Gallery - ZiNgA BuRgA - 06-22-2016, 05:49 PM
RE: Video Gallery - crusher - 08-03-2016, 01:39 AM
RE: Video Gallery - esforum78 - 07-14-2017, 09:17 AM

 Standard Tools
Forum Jump: