View Full Version : how do I add a button for vids etc
Femphysiques
06-12-2007, 06:29 PM
I had someone admin my board...but he doesn't have much time to do it much anymore...so I'm left to fend for myself...and I'm a duh when it comes to code....can anyone tell me how to ad a button similar to the youtube button where anyone can post a vid? I don't want thme to upload it to the server...just link to it....I guess that's called bbcode?......I tried and failed miserabley to make heads or tails out of the youtube code to see if I could make it work....I guess the variables would be the url and name of the vid...I'd like it to be/work similar to how the [img] thing works....thanks in advance
cheat-master30
06-12-2007, 07:26 PM
If you want to embed Youtube videos:
<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>
Youtube Video- title
whatever you want- BB code tag
I got this from the official forums, and there are a literal ton of video embedding BB codes listed in the vBulletin.org modifications index.
Femphysiques
06-13-2007, 02:06 AM
Thanks...but I already have youtube and google...what I'd like to have is a button that operates similar to their code. In other words....the ability to embed a vid from any url..not just youtube or google....example http://www.xyz.com/samplevid.mpg. I know this code won't really work as typed above..just using it as an example.....also I guess there is a problem about constraining the vid to a certain window size....similar to the youtube or google vids....so I'm wondering if any code guru's here can help me out on this one...because I have no clue how to do it......Also...I'm not sure it's even possible as the youtube movies are really flash movies and not mpgs....anyway....thanks in advance...
Is there anyone who can help on this one?..thanks....
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.