![]() |
Can't get this to work. I enter the full url or just the video number and then wrap the youtube code around it and it just shows:
[youtube] h6KBiuVxOOY [/youtube] |
click Installed. Works great on 3.6.4
thanks |
Quote:
|
Quote:
|
I like this, it's nice that users can put the id or full URL as it saves me having to explain how to get the url a hundred times to members. :P
Just noticed one bug and not sure if it was posted. I was trying to make a quick explanation to users by writing the code [youtube]URL[/youtube] inside of [noparse] tags but your code still removes the full url and changes it to just an id which is a bit confusing to members (they don't know where the id came from :P). Not a big deal but you should make your hack detect if the tag is inside of [noparse] tags or not. ;) |
Quote:
Here is an example of youtube http://www.quantnet.org/forums/showthread.php?t=1506 Here is an example of googlevideo http://www.quantnet.org/forums/showthread.php?t=1229 |
Quote:
Code:
[youtube]h6KBiuVxOOY[/youtube] |
[QUOTE=rossco_2005;1139905]I like this, it's nice that users can put the id or full URL as it saves me having to explain how to get the url a hundred times to members. :P
Just noticed one bug and not sure if it was posted. I was trying to make a quick explanation to users by writing the code [youtube]URL[/youtube] inside of [noparse] tags but your code still removes the full url and changes it to just an id which is a bit confusing to members (they don't know where the id came from :P). Not a big deal but you should make your hack detect if the tag is inside of [noparse] tags or not. ;)[/QUOTE] I didn't know about that tag (I'm kinda new to vB). :surprised: I do this to show users: [you[b][/b]tube]blah[/youtube] It's kinda ugly, but it gets the job done. Oh, and I'll work on making it not do anything inside [noparse] tags. My plugin transforms the URL -> ID so that the internal BBCode parser can parse it, but I didn't code it to look for [noparse]. :( |
Quote:
|
Quote:
Please share some ideas Thank you -K |
All times are GMT. The time now is 08:17 PM. |
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:
|