The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have the following bbcode replacement for users to use when inserting a youtube video into a post:
HTML Code:
<iframe width="560" height="349" src="http://www.youtube.com/embed/{param}" frameborder="0" allowfullscreen></iframe> Is there a way to handle the user putting in a full URL rather than just the video ID and fail gracefully? |
#2
|
|||
|
|||
![]()
You could use this mod: https://vborg.vbsupport.ru/showthread.php?t=261296
|
#3
|
|||
|
|||
![]() Quote:
Also, I'm not sure this would actually solve the problem of when a user puts a link inside a BBcode tag. There's got to be a solution for this out there, tons of people use custom bbcode's for youtube embeds and they can't all just be letting their forum redirect whenever anyone puts a full URL in there... --------------- Added [DATE]1310015826[/DATE] at [TIME]1310015826[/TIME] --------------- Anyone? This just started happening recently too. Did youtube change their embed code or something? |
#4
|
||||
|
||||
![]() Quote:
If you want auto embed and tell users if they want to just use links they can use [noparse] |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|