![]() |
YouTube URL Converter/Fix by BOP5 (replaces youtu.be with youtube.com)
1 Attachment(s)
Version 1.2
1.0 - Initial Release 1.1 - Bugfix 1.2 - Bugfix This is a very simple mod that will convert any links to videos on youtu.be to full www.youtube.com URLs. This will be done everytime a new post is created or edited. The purpose of this mod is to allow mods like AME 2.5 to work properly with the new shorter youtu.be share URLs. It is preferable to use the original www.youtube.com URL because it will work with video titles and retain deep embedding support. There are no options, just import the prodct in the usual way and it is installed and working. If you ever need to disable it, disable the product from your Product Manager in Admin CP. Or uninstall. *THIS WILL NOT CHANGE OLD POSTS UNLESS YOU EDIT and RE-SAVE THEM* Example: If someone posts: Code:
http://youtu.be/YqlzuQfTwUk Code:
http://www.youtube.com/watch?v=YqlzuQfTwUk This mod does NOT embed videos. It is only useful if you run a mod like AME already. This mod works on Vb 3.6, 3.7, 3.8, and 4.x. Please Mark as Installed if you use this. :) |
Reserved.
|
Legend.
|
FYI This mod does work on VB 4.x but I don't know why you would need it.
|
Works as advertised! Thank you, sir!
|
Great mod. Works great!
|
Updated to version 1.1 - Fixed bug where youtube videos with dashes (-) in their ID would not be converted.
|
Been using this since Day One, works great. I appreciate the work!
|
I downloaded this mod, removed the duplicate pattern match(?), changed the embed code to display HD when available, and added the no-cookie and https option YouTube now offers. I attached the XML if you're interested.
Anyway, your converter seems to work well in conjunction with this mod, but for some reason it doesn't convert the first post of a new thread unless I edit and save it after posting. In fact, even without my mod it still exhibits this behavior in my test environment running a clean version of vB 3.8.7. I take it this hasn't happened to you? |
You are right, it wasn't converting on first posts. Looks like I had the plugin for new threads accidentally assigned to another mod so it didn't export with this mod. Uploaded version 1.2 which fixes this issue, now includes both plugins. Thanks. :up:
Edit - Had to remove your attachment, you can't redistribute other peoples mods, even if you edit them. |
All times are GMT. The time now is 12:33 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:
|