Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Bug Youtube embedded videos replaced by white box

  1. Jul 28, 2011 #1

    Ryan_m_b

    User Avatar

    Staff: Mentor

    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.
     
  2. jcsd
  3. Jul 28, 2011 #2

    jtbell

    User Avatar

    Staff: Mentor

    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: Jul 28, 2011
  4. Jul 28, 2011 #3

    Ryan_m_b

    User Avatar

    Staff: Mentor

    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 realise 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: Jul 28, 2011
  5. Jul 28, 2011 #4

    jtbell

    User Avatar

    Staff: Mentor

    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.
     
  6. Jul 28, 2011 #5

    Ryan_m_b

    User Avatar

    Staff: Mentor

    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
     
  7. Jul 28, 2011 #6

    Redbelly98

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    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.)
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Youtube embedded videos replaced by white box
  1. PF in Youtube ? (Replies: 10)

Loading...