The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[BB Code] YouTube embedded video Details »» | |||||||||||||||||||||||||
I didnt see anyone else release this so i thought i'd release it
What this code does is allow your members to embed YouTube Videos into their posts. As YouTube url's always begin with http://www.youtube.com/v/ all your users need to do is copy and paste the last bit of url (found on the YouTube site for whatever video they want to post) inside the tags (see the example below). To Install: 1. Go To Admin CP 2. Scroll down the left nav and select Custom BB Codes 3. Add New BB Code 4. Fill in the following: Title: YouTube BB Code Tag: yt (You can change this to whatever you prefer, yt is just nice and small ) Replacement: Code:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object> Description: Embeds You Tube Videos Use {Option}: No Enjoy! (Although its not much, this is my first release on vb.org ) Show Your Support
|
Comments |
#82
|
||||
|
||||
Here's a better version for the button image, right size.
|
#83
|
|||
|
|||
great thanks installed other one was too much all i need is you tube
|
#84
|
||||
|
||||
My you tube BB Code has stopped working in 3.6.4 in firefox browser 1.5.0.8
It mall formats the actual link. You can see an axample at the beginning of an existing post at http://www.physiobob.com/forum/showthread.php?t=3510 The first word was a link working perfectly until a recent upgrade. This might be a firefox issue or it might be a vbulletin issue. This is because I also have now seen that my plugin which does the same thing for adding utube plugins is also asking to install a plug to make it work! I attach a screen shot of that as well for you interest in case it help to work out where the issue might be coming from. |
#85
|
|||
|
|||
Quote:
http://www.physiobob.com/forum/*http://en.wikipedia.org/wiki/Plantar And what exactly has that problem got to do with this YouTube Mod?? |
#86
|
||||
|
||||
Quote:
|
#87
|
|||
|
|||
Quote:
Hello, For some reason videos were not showing up when using the initial code so I installed this and now the videos show up great in firefox. Thanks, this worked great for fixing the firefox problem. Now off to test opera. Boy, I hope it works. Nuguru |
#88
|
|||
|
|||
Nice thing, but how can i restrict some Forums to allow or not to use this code. I woud like to have same control about this funktion like the "img" bb-code.
Regards Eric |
#89
|
|||
|
|||
Recommendation -
When you post a Youtube video near the top of a thread (I'm using the legacy postbit too) and subsequently try to use the Thread Tools drop down to edit/stick/whatever, the menu drops down behind the YouTube layer. One of my admins suggested the following alteration: Code:
<object width="425" height="350"><param name="wmode" value="transparent"></param><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed wmode="transparent" src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object> |
#90
|
||||
|
||||
Here's a 100$ question
Is there any way to "hide" the YouTube video under a button, like a spoiler tag for instance? Here's an example of what I mean: http://forum.computergames.ro/11-rpg...l#post36649080 The Spoiler tag code looks like this: <div class="spoiler" style="display:inline"><input type="button" class="button" onClick="showSpoiler(this);" value="Show spoiler: {option}"> <span class="content" style="display:none">{param}</span></div> And the example: [spoiler=My movie Title]My neat spoiler[/spoiler] Any help would be greatly appreciated |
#91
|
||||
|
||||
I have an idea as well.
There is a perfect compliment to this mod. We need to figure out how to add the YouTube button as an Icon on the forum index next to posts that have videos embedded in them. I brought this up in the mod suggestion forum recently. Much like the paperclip shows up for attachments. SOMEBODY HELP! THIS WOULD BE GREAT, NO? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|