![]() |
Issues with youtube bbcode
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? |
You could use this mod: https://vborg.vbsupport.ru/showthread.php?t=261296
|
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? |
Quote:
If you want auto embed and tell users if they want to just use links they can use [noparse] |
All times are GMT. The time now is 11:34 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:
|