Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Random YouTube/Vimeo Video Widget Details »
Random YouTube/Vimeo Video Widget
Mod Version: 1.0.1, by imported_dfmafia (Member) imported_dfmafia is offline
Developer Last Online: Nov 2015 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (3 votes - 4.67 average) Installs: 22
Released: 27 Jul 2012 Last Update: 28 Jul 2012 Downloads: 156
Not Supported Re-usable Code Translations External Content  

Random YouTube Video Widget

Description: Allows you to display 1 random video from any number of videos you choose.

Tested on vB 4.2.0 Patch Level 2

Live Demo: MrDeids.com





Installation:
1. Download Random_Video_Widget_v1.0.1.zip
2. Unzip contents and view README
3. Go To -> Admincp -> vBulletin CMS -> Widgets
4. Create new widget
Widget Type: Static HTML. Name it whatever you desire. ie. "Random Video"and save it.
5. Configure The Widget in VBulletin CMS -> widgets (insert all the code in the Random_Video_Widget_v1.0.1.txt making edits highlighted in red to suit your site)
6. Add the widget in page through layout manager.

Uninstallation:
Delete "Random Video" (or whatever you named it) Widget in vBulletin CMS -> Widgets

The RED items below will need to be edited to suit your requirements.

video[0] = "http://www.youtube.com/embed/s7-pbVdiDas";

s7-pbVdiDas is the Video link you can get from your youtube channel.
ie. http://www.youtube.com/watch?v=s7-pbVdiDas


this is the total number of videos you want to pull from your youtube channel list
var numberOfVideos = 12;


adjust for height and width of your layout.
width="340" height="280"


I do not have a Vimeo account but it should work the same way.
for vimeo use:
video[0] = "http://player.vimeo.com/video/XXXXXXXX?title=0&byline=0&portrait=0";

XXXXXXXX is the Video link you can get from your vimeo video id.

Please Click Mark As Installed If You Have Installed.

Mod History:
v1.0.0 :: 27 July 2012 :: First Release
v1.0.1 :: 28 July 2012 :: Added Vimeo Support

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	random_video.PNG
Views:	1225
Size:	77.9 KB
ID:	140145   Click image for larger version

Name:	random_video2.PNG
Views:	1220
Size:	130.6 KB
ID:	140148  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 14 Aug 2013, 10:47
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Real name: Barakat
love it ,,, works on 4.2.1 .. thanks
__________________
مسلمـ من أمة محمد ...
Reply With Quote
  #17  
Old 26 Jan 2014, 17:46
rossonero rossonero is offline
 
Join Date: Aug 2006
I try to insert a youtube video like: https://www.youtube.com/watch?v=noPVhgEVStE

It doesn´t Work? a error message just appear that the site can not be displayed. If I insert the youtube links you have as example it Works fine
Reply With Quote
  #18  
Old 26 Jan 2014, 18:11
rossonero rossonero is offline
 
Join Date: Aug 2006
Strange - now and then it load the youtube video in the window if you wait a bit. But mostly just default Explorer setting that "site can not be displayed"
Reply With Quote
  #19  
Old 27 Jan 2014, 15:57
Ba'al's Avatar
Ba'al Ba'al is offline
 
Join Date: Oct 2010
Originally Posted by rossonero View Post
Strange - now and then it load the youtube video in the window if you wait a bit. But mostly just default Explorer setting that "site can not be displayed"
Are entering the youtube video url or the video share url?
__________________
Reply With Quote
  #20  
Old 03 Apr 2015, 15:57
Linkeb3's Avatar
Linkeb3 Linkeb3 is offline
 
Join Date: Oct 2013
Is this setup to play random videos within a channel?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:28.

Layout Options | Width: Wide Color: