Front Desk Questions, suggestions, site problems? Put all your site related threads in here.

in-line URL to Youtube video breaks formatting

Thread Tools
 
Search this Thread
 
Old 03-26-2015 | 07:14 PM
  #1  
scenturion's Avatar
Thread Starter
Junior Member
iTrader: (9)
 
Joined: Dec 2011
Posts: 408
Total Cats: 61
From: SFBay
Default in-line URL to Youtube video breaks formatting

I expect the forum not to process a link I place in [URL] tags.
In thread preview, if I link to a youtube vid in-line, this doesnt happen, but when I post the thread it processes the video and creates a youtube window, breaking formatting.

For example:

turns into


Screenshot of preview

edit: I think this is a VBulletin issue, as this also happened in my same post on CR.net.
Also, I would not expect the item inside the [code] tag to be interpreted - I would expect it to be left as plaintext (but that's less of an issue).


edit2: and the same video in [YT] tags doesnt work for me at all


Last edited by scenturion; 03-27-2015 at 01:15 AM.
Old 03-27-2015 | 01:24 PM
  #2  
EO2K's Avatar
Elite Member
iTrader: (37)
 
Joined: Apr 2010
Posts: 10,448
Total Cats: 1,901
From: Very NorCal
Default

I've always used the YT tags thusly:



And it imbeds thusly:


I feel like I missed something here, like I didn't understand the question. I should probably be ignored.

Related: I really want one of your "180mph" speedos :P
Attached Thumbnails in-line URL to Youtube video breaks formatting-yt_tag.jpg  
Old 03-27-2015 | 01:35 PM
  #3  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 79,818
Total Cats: 4,152
From: Chantilly, VA
Default

you can either paste the full URL without tags.

or just the video ID with [YT] tags.

example usages:

https://www.youtube.com/watch?v=21jbID9pqnc

[yt]21jbID9pqnc[/yt]


if you want to display the URL without embedding the video, then use [noparse] tags, or don't copy the https://


same thing goes for a few other types of embeds: like gifv movies.
Old 03-27-2015 | 03:13 PM
  #4  
scenturion's Avatar
Thread Starter
Junior Member
iTrader: (9)
 
Joined: Dec 2011
Posts: 408
Total Cats: 61
From: SFBay
Default

Okay, got it. Thanks for the explanation.
Why does preview display differently?

Okay, removing the https: fixes the inline linking.

test test test
Old 03-27-2015 | 03:15 PM
  #5  
y8s's Avatar
y8s
DEI liberal femininity
iTrader: (8)
 
Joined: Jun 2005
Posts: 19,338
Total Cats: 574
From: Fake Virginia
Default

Code:
https://www.youtube.com/watch?v=qqw6yRlWc2c
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Aroundcorner
Miata parts for sale/trade
2
10-01-2015 04:20 PM
lsc224
Miata parts for sale/trade
2
10-01-2015 10:17 AM




All times are GMT -4. The time now is 12:18 AM.