Embedding Facebook Video

Service: Eve Community

This is the code I get for the FB Embed Video.  Some of it is the wording from the post, but would you have a suggestion of how to embed just the video portion on our message board.

 

Thanks,

Scott...

 

<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/sdk.js#xfbml=1&version=v2.3";  fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));</script><div class="fb-video" data-allowfullscreen="1" data-href="https://www.facebook.com/86973041585/videos/10153070417091586/"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/86973041585/videos/10153070417091586/"><a href="https://www.facebook.com/86973041585/videos/10153070417091586/"></a><p>Ed Niemiec wins this years Todd&#039;s Extreme Paints $50k</p>Posted by <a href="https://www.facebook.com/pages/DragRaceResultscom/86973041585">DragRaceResults.com</a> on Saturday, August 1, 2015</blockquote></div></div>

Original Post
Votes (0)

Activity Stream

Hi, Scott:

 

Facebook doesn't make it very easy to embed videos, but we've figured out how to make this work for you:

 

1. On this page you'll find a mechanism for producing the proper code to embed your videos on your site (maybe you already did this part). You put in the URL of your video, and when you click the button to "Get Code", you get a popup, with two boxes of code. 

 

2. The first box (1.JavaScript SDK) has to be copied and pasted into the theme setting that you are using for the forum in which you want to post the video. Go into that theme (Eve>>Display>>Settings, click the edit icon.) Click Custom HTML, and scroll to the field marked "Insert AFTER Opening Body Tag (HTML Only)". Paste the code in that box, and click "Save Changes".

 

3. You also need to make sure that the forum you are in allows HTML, and that you have given yourself the permission to post HTML (we don't usually recommend that you give ALL members that permission, but you might want to give that permission to people you trust, if you want them to post Facebook videos). To make sure the forum allows it, go to Forums>>Specific Forums, then click "Forum Details" next to the forum in question. On the Posting Settings tab, uncheck the box that says "Disable HTML", and then Update Settings at the bottom of the page. Now make sure that you have permission to post HTML via the Permission Snapshot (Eve>>Members>>Permission Snapshot) This is a Personal Permission, and you can choose to allow a power group, or specific users (such as yourself).

 

4. Now you're ready to embed the Facebook Video. From the developer page I showed you earlier, copy the code from 2. "Place the code from your plugin..." box. You can paste that into a posting form on the forum, and you don't need the filmstrip tags (this is not a flash video), so you can just paste it in as it is.

 

Note that, once whatever themes you are using have the code from 1. in the "Insert AFTER Opening Body Tag" field, you won't have to repeat that step any more. Same with allowing HTML in any forum that you need to post Facebook videos in. You'll just need to get the code from the video embed code generator.

 

Hope this helps!

 

Lori

Question Answered

This action was taken by Lori.
To follow up on this question, please click here.
×
×
×
×
×