![]() |
[BB Code] YouTube embedded video
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 ;)) |
Quote:
|
ah crap....i didnt notice that one supported YouTube :p...
|
good job,at least no edits,thankyou for sharing
|
Quote:
|
Quote:
|
Seems to be buggy in Opera 8.52, when first entering thread it will not display.. clicking edit and then canceling the edit it will show but won't actually play.
|
Plus the one linked isn't working correctly........I have yet to get it to show youtube video's..........
thanks for the fine work |
The example i gave above is the one in this thread:
http://www.crashbangwallopwhatawebsi...ead.php?t=1057 It seems to work fine for me. I've tested it in Firefox and IE and both work fine, i also tested several other videos and they all seem to work, i dont know why it wont for you... i'm not much of a an expert when it comes to coding :( |
it does work properly,say you go to this site
http://www.youtube.com/watch?v=rPxWW...page=1&t=t&f=b take this out of the url link="rPxWW6MU-MQ" and place the BB tags around it in your post eg:[yt]rPxWW6MU-MQ[/yt] and you will see that it works ;...) |
Quote:
Thanks & nice work, Danny. |
Very nice!
Can't the tag be clickable from the tags bar? |
Quote:
|
Excellent, I'll install this right now.
|
works perfectly
i have one question if we double click on the movie can we make it full screen because if we double click right now its taking back to youtube website thanks for ur help |
Thank you. Installed.
|
This is awesome I was looking for this because im not familiar with bbcode.
But real quick I actually made it so the videos AUTO PLAY! which is pretty cool so your users dont have to click play, here is that code: Quote:
|
Quote:
|
how to add a tag in editor toolbar on for this please ?
|
Well, use Any Media Hack, I can play whatever , youtude or google video !!!
|
Youtube isn't working for some reason... The screen comes up and you click to play and it just loads.
|
Quote:
[yt]38ppH4gW5Xs[/yt] ? |
Quote:
I works know thnx alot buddy :banana: |
Excellent work, Danny! Thanks alot.
|
How can i place a small bb picture on the forum's posting interface, like on the right of php code bb code picture?
Please tell me the code and exactly where to place it |
anychance of making a button and instructions on how to get the button to work becuase my members wouldnt be able to remember each time the code
|
Hey mate, this is awesome :D
*installed |
hey mate, any way to embed videos that are stored on your server?
|
works great. installed
|
Is there a way to have this displayed in the user's profile page?
|
^^Has anyone tried this yet?
|
How to make it collapsable ??
|
No, I would like this to show up in the member's public profile.
|
|
Quote:
I've been on forums for years and I've never quoted myself. How sad.:disappointed: |
Can you assign permissions to embedded media? Meaning you can only allow a certain group (Admins, moderators ect.) to post youtube videos but everyone else can view? Or assign a certain group to be able to watch any videos?
|
easy
easy easy Thanks! |
wow! nice, easiest hack to install!
|
Installed over "anymedia" after all why use a sledgehammer on a small nail.
Changed the BBcode tho, may be of use to others so posted it here (we also take advantage of autoplay the video is not played until the user clicks AGREE to a small disclaimer. Some code borrowed from the anymedia plugin so credit where its due :) Code:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="466"> https://vborg.vbsupport.ru/ After clicking 'AGREE' https://vborg.vbsupport.ru/ p.s. Power Rangers rule :) |
its not workin for me..all i get a WHITE BOX. what am i doing wrong?
|
All times are GMT. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|