in-line URL to Youtube video breaks formatting
#1
Junior Member
Thread Starter
iTrader: (9)
Join Date: Dec 2011
Location: SFBay
Posts: 408
Total Cats: 61
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
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 12:15 AM.
#2
Elite Member
iTrader: (37)
Join Date: Apr 2010
Location: Very NorCal
Posts: 10,441
Total Cats: 1,899
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
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
#3
Boost Czar
iTrader: (62)
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
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.
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.
#4
Junior Member
Thread Starter
iTrader: (9)
Join Date: Dec 2011
Location: SFBay
Posts: 408
Total Cats: 61
Okay, got it. Thanks for the explanation.
Why does preview display differently?
Okay, removing the https: fixes the inline linking.
test test test
Why does preview display differently?
Okay, removing the https: fixes the inline linking.
test test test
Thread
Thread Starter
Forum
Replies
Last Post