Youtube embedded videos replaced by white box

  • Context: Bug 
  • Thread starter Thread starter Ryan_m_b
  • Start date Start date
Ryan_m_b
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Messages
5,963
Reaction score
727
I've noticed that when I try to embed youtube videos instead there is a white box in the post with no video, I've tried it a few times only to edit the video out of the post and replace it with a link. Today I found a thread where another user is having the same problem https://www.physicsforums.com/showthread.php?p=3424633#

I'll embed something below to show what I'm talking about

https://www.youtube.com/watch?v=http://www.youtube.com/watch?v=eO-Vl-LTk2U

Any help would be appreciated! Thanks.
 
Physics news on Phys.org
Hmm, let me have a try, using PF's YouTube button:

https://www.youtube.com/watch?v=tQjuSw6ZOcI

I can see this video, but I can't see the video in your post. Are you sure you're doing it correctly? When you look at the actual URL of a YouTube video, part of it looks like this:

watch?v=tQjuSw6ZOcI

Take the "gibberish" string after "v=" (up to but not including the following "&" in the URL), and wrap it between [ YOUTUBE ] and [/ YOUTUBE ] tags (remove the spaces). This is what the TV-set icon gives you in the message-composition screen.
 
Last edited:
jtbell said:
Hmm, let me have a try, using PF's YouTube button:

https://www.youtube.com/watch?v=tQjuSw6ZOcI

OK looking at how you wrote that did you copy and paste the code at the end of the URL? what I've been doing is taking a video and wrapping the URL like this (I'm using "{" instead of "[" for illustration)
{YOUTUBE}http://www.youtube.com/watch?v=tQjuSw6ZOcI{/YOUTUBE}

Which comes out like this

https://www.youtube.com/watch?v=http://www.youtube.com/watch?v=tQjuSw6ZOcI

But perhaps if I try this

{YOUTUBE}tQjuSw6ZOcI{/YOUTUBE}

(i.e. copying and pasting the URL and deleting everything but the code at the end http://www.youtube.com/watch?v=tQjuSw6ZOcI)

https://www.youtube.com/watch?v=tQjuSw6ZOcI

Right that seems to work! I didn't realize that's what we had to do, thanks.

EDIT: Didn't see your edit before I wrote this, yeah I was doing it wrong.
 
Last edited:
OK, you got it. :smile:

I don't remember how I found out how to do it correctly. If it isn't in the forum documentation or FAQs somewhere, we need to add it.
 
I've never seen an FAQ or tutorial on the little confusing facet's like this, still if someone needs help they can always ask like this and get it sorted in no time. Cheers again
 
Whenever you see a post that makes you think "I wonder how they did that?", hit the Quote button and you will see exactly how they did that.

(And then hit your browser's "back" button in order not to post an actual reply.)
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
10K
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 14 ·
Replies
14
Views
6K