The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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. |
#2
|
||||
|
||||
![]()
Did you try doing a search here? There are several different bbcodes in the mods forum for youtube links.
|
#3
|
|||
|
|||
![]()
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] |
#4
|
||||
|
||||
![]()
Modify it to do what you want.
|
#5
|
|||
|
|||
![]()
AME does what you want. Works with youtube and loads of other sites.
https://vborg.vbsupport.ru/showthread.php?t=195884 |
#6
|
||||
|
||||
![]()
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:
![]() |
#7
|
|||
|
|||
![]() Quote:
Basically what do I change in this code so I could use the full url when embed you tube? Quote:
|
#8
|
||||
|
||||
![]()
You change where it says "value" and where it says "src". value="{param}" and src="{param}"
|
#9
|
|||
|
|||
![]()
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. |
#10
|
||||
|
||||
![]()
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.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|