Note The code supplied below must be imported to the Custom Tags feature of your UBB.threads install; the coding escapes any slashes, so just copy and pasting to your existing install just plain will not work, please use the import function.
Install Save "CustomTag.txt" (with the code provided) and import into the "Custom Tags" feature of the control panel: Control Panel -> Tools & Info -> Content Rebuilder -> Custom Tags -> Import new tags (bottom tab)
Compatibility The v7.6.0 works with the updated common.css file entries in v7.6.0 to responsively display your videos depending on the size of your browser window (to a maximum of 640x360). As these classes do not exist in previous builds an additional set of code is provided for 7.5.x which displays videos in a 16:9 resolution of 400x255.
I have now manually updated the tag code from Pre-v7.6.0 CustomTag.txt above and there is no change.
I was going to post this in the bugs section on ubb but as I pressed the preview its working fine over there ? Ive not done any updates, and its the members that have come to me with this strange change.
See attached image for the manual entered code.
BOOM 7.6.+ rocks....
Re: YouTube Video - Custom Tag
#321937 08/13/20163:16 AM08/13/20163:16 AM
Hey Mark, Im not sure if this will help you out or not, but this is a screen cap from UBBDev's current YouTube Custom Tag for UBB.threads 7.6.0 (Snapshot 20160813)
There is also a "common.css" file which is unique to UBBT v7.6.x series.
You can paste the following code in to your style sheet's EXTRAS section, if you are not currently on a 7.6.x series install. You'll need to do it to each of your styles. And then when you move to 7.6.x, you'll probably need to remove it at that time, since it will duplicate functionality.
But my old videos are still only showing as previous a tall back box ?? I still have the style sheet extras.
Since you basically "added a new UBBCode" (or updated your current code), you need to run the content rebuilder.
Control Panel » Content Rebuilder > Rebuild Posts
Rebuild Posts Select this action if you've added a new UBBCode or if you've edited the list of censored words.
hint: If you enter the post editor on one of your old youtube posts and click the "Preview Post" button, you will get an idea of what the rest of your posts will look like before running the rebuilder on your whole forums.
The devil is in the detail and your snapshots helped. The code in the first post needs some attention as it has the extra slashes in it and also the regex.
The code in the first posts works if you dump it in to a text file and then import that text to your Custom Tag editer, by way of the "Import New Tags" button at the bottom. The newly imported tags will be prefixed with "new", so as to not be confused with your current tags.