Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
version 7.6.1.1

Everything was going so well and then members reported back that the YouTube Tag is no longer working ?

With the new install I also updated the YouTube Custom Tag.
It would not let me import the file from the custom directory in the installer package (white screen) and the only way to escape was to go back.

Ive edited the file so i can take its contents and add them as my own tag, but that does not seem to work ?

Code

broken code removed see down the page



since solution this is not required in the style sheet.

Code
/* video embeds */
.video-container {height:0;overflow:hidden;position:relative;padding-bottom:56.25%;padding-top:30px;}
.video-container iframe,.video-container object,.video-container embed {height:100%;left:0;position:absolute;top:0;width:100%;}

So when we add the tags we just get the text its not being parsed at all.



I wonder what i'm missing as its working as expected on this forum ?

Code
https://www.youtube.com/watch?v=24bS7a6rPoQ

Any Ideas things I can check and do ?
Posts prior to the update are working (playing and showing a video screen).

Thanks in advance.

Last edited by Mark S; 01/15/2018 4:31 PM.

BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
do not copy/paste. import the text file exactly as it is from the main installer


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2006
Posts: 16,289
Likes: 115
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,289
Likes: 115
Copy and paste from the import file will not work as it'll copy too many escape characters; try:

Regex:
Code
((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w\-]+\?v=|embed\/|v\/)?)([\w\-]+)([a-zA-Z0-9_-]{8,12})(\S+)

Markup:
Code
<div class="video-container"><iframe frameborder="0" width="500" height="300" src="https://www.youtube.com/embed/\\5\\6\\7?wmode=opaque" allowfullscreen></iframe></div>


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
BOOM the guys are on watch tonight..

FIXED smile

Strange why it does not allow the import to work ?

I did try coping raw as you say that wont work..

When i try the importer for the custom tags it shows a white screen, I know we have come across this previously.

But the edits you supplied Gizmo worked a treat wink smile

Thank you Guys

Last edited by Mark S; 01/15/2018 4:14 PM.

BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,289
Likes: 115
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,289
Likes: 115
The reason for the white screen is likely in your logs; I'm guessing some security module that sees code being updated.

The reason you can't copy and paste is because of all of the \'s in the files, they comment out markup/code so it can be managed through the editor.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Thanks G.

Its not so important now its fixed smile

Enjoy ..



LOL

You need a new prefix on these topics ?

[Bug]
[Not a Bug]
[Just Mark Again]

lol

Last edited by Mark S; 01/15/2018 4:21 PM.

BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Forum Privacy Policy
by ECNet - 02/26/2024 11:58 AM
Who's Online Now
2 members (Geoff, domspeak), 353 guests, and 190 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)