The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Random YouTube/Vimeo Video Widget Details »» | |||||||||||||||||||||||||||||||||
Random YouTube/Vimeo Video Widget
Developer Last Online: Aug 2022
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
Screenshots
Show Your Support
|
Comments |
#2
|
||||
|
||||
Nice one m8 thank you will be useful in the coming weeks for us
|
#3
|
||||
|
||||
UPDATED:
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. |
#4
|
||||
|
||||
I don't get it
How does the mod randomize videos if I only put the number of the video in the string? Is there a way to set it up so it will randomly take a video from a channel? Like say, a video from the CNN Youtube channel, then one from the Fox News channel, then one from MSNBC channel? If this doesn't do that will you please consider making that happen? Cheers! |
#5
|
||||
|
||||
I haven't found a clean way to pull random videos from multiple channels. would be nice and something I am looking into.
This pulls a random video out of the list you provide. you can put as many videos links into it as you want. It will pull one of those videos randomly during each page load. I have 12 on my channel. as I upload more videos, I just add that new video to the script. I'd rather have some control over the content of my site than pulling random videos from multiple channels. |
#6
|
||||
|
||||
Since I have a political web site I need to be able to post the newest stuff from the news sites. They update their stuff daily so I can't keep track of which things I'll put into this mod.
Even if you had it for one channel would be ok. Then add a randomizer conditional for the other sites. Just a thought |
#7
|
||||
|
||||
I'll look into it.
|
#8
|
||||
|
||||
I tagged it, the widget looks nice, but being able to pull from certain channels would be perfect.
|
#10
|
|||
|
|||
The installation of video work.. When you refresh the page cms, represent several videos and they do not go on video [0], vidéo [1], vidéo [2], vidéo [3] etc... Mais elles font se représentent par exemple : vidéo [0], vidéo [1], vidéo [1], vidéo[1], vidéo[2], vidéo[3], vidéo[1], vidéo[4],... The videos don't follow every time we refreshes the page.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|