![]() |
BBcode you tube
How do i add custom bbcode for youtube links but only for the full youtube URL
i.e.: http://www.youtube.com/watch?v=rxVS5nYFnkA I don't mean the the last part of the URL(i.e.:rxVS5nYFnkA) I search the vbulletin.org but i find bbcode only for the last part of the youtube url. I don't wanna use any addo'n i want use a custom bbcode about. |
Did you try doing a search here? There are several different bbcodes in the mods forum for youtube links.
|
Yes i search the vbulletin.org but the only i found is not for the full URL but is only for the last part of the URL i.e. [youtube]fdhjkaa[/youtube]
I want to use it with the full URL i.e. [youtube]http://www.youtube.com/watch?v=rxVS5nYFnkA[/youtube] |
Modify it to do what you want.
|
AME does what you want. Works with youtube and loads of other sites.
https://vborg.vbsupport.ru/showthread.php?t=195884 |
You can make a simple edit to the standard code to make it accept the full URL instead of just the code, for example my youtube vid code is:
PHP Code:
PHP Code:
:) |
Quote:
Basically what do I change in this code so I could use the full url when embed you tube? Quote:
|
You change where it says "value" and where it says "src". value="{param}" and src="{param}"
|
So basically it should look like this:
<object width="425" height="350"><param name="movie" value="{param}"></param><embed src="{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object> when I use this code it just give me a white screen. Nothing comes up. |
You need to use all the other code there too. If it doesn't work, you'll have to look at your page source and see what is going on.
|
All times are GMT. The time now is 01:32 AM. |
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:
|