1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Facebook Video

Discussion in 'XenForo Questions and Support' started by TheSalt, Oct 23, 2014.

  1. TheSalt

    TheSalt Active Member

    Hello Gang,

    This is kind of a noobie question I'm sure but I couldn't find an explanation that I can understand, my apologies.

    I'm trying to learn how to embed Facebook video. and I have no idea how. Below is an example video. Can some explain what info I'm supposed to use from it and how to post it in a thread? I feel like it is this number (10152807149094345) but I don't now how to use it

    Many thanks!
    Nick

    Code from Facebook:
    HTML:
    <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
    <div class="fb-post" data-href="https://www.facebook.com/frank.aguirre.334/posts/10152807149094345" data-width="466"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/frank.aguirre.334/posts/10152807149094345">Post</a> by <a href="https://www.facebook.com/frank.aguirre.334">Frank Aguirre</a>.</div></div>
    
    Screen Shot 2014-10-22 at 5.38.23 PM.png
     
  2. bt012ss

    bt012ss Well-Known Member

  3. Brogan

    Brogan XenForo Moderator Staff Member

    Facebook is configured as a default media bb code.

    You just need to paste the absolute URL into the post and if you have automatic conversion enabled, it will embed.
     
  4. TheSalt

    TheSalt Active Member

    Yes bt012ss! That is it. When I look at your post I see this number but I don't understand where you got it? I don't see it in the embed link...
    Code:
    [MEDIA=facebook]950586674958662[/MEDIA]
    Hello Brogan. I would need to double check if I have automatic conversion enabled. I searched it on the ACP but nothing came up, can you please point me to where that might be?

    Thank you everyone!
     
    Last edited: Oct 23, 2014
  5. TheSalt

    TheSalt Active Member

    Is it this, does the last selection need to be picked?

    Screen Shot 2014-10-23 at 10.58.14 AM.png
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    The last option adds a URL link below the video as well as embedding it.
     
  7. TheSalt

    TheSalt Active Member

    Okay I'm still not understanding... What part of the embed code do I use and how do I add it? Using the media tool in the bb toolbar?

    Sorry, I'm not understanding.

    https://www.facebook.com/frank.aguirre.334/posts/10152807149094345 ???

    Code:
    div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
    <div class="fb-post" data-href="https://www.facebook.com/frank.aguirre.334/posts/10152807149094345" data-width="466"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/frank.aguirre.334/posts/10152807149094345">Post</a> by <a href="https://www.facebook.com/frank.aguirre.334">Frank Aguirre</a>.</div></div>
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

  9. TheSalt

    TheSalt Active Member

Share This Page