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,973
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,973
Likes: 154
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: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2006
Posts: 16,355
Likes: 125
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,355
Likes: 125
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,355
Likes: 125
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,355
Likes: 125
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
Another error
by Baldeagle - 10/07/2024 9:08 PM
Is this a cookie issue?
by Baldeagle - 10/05/2024 2:01 PM
Search button not there
by ehill - 10/02/2024 2:56 PM
Change the Order of the buttons in a post
by Unixspot - 09/19/2024 10:04 PM
How do I get rid of this?
by Baldeagle - 09/12/2024 6:30 PM
Who's Online Now
0 members (), 742 guests, and 79 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.1
(Snapshot build 20240918)