3 posters
Embedding facebook videos..
Menos- Forumember
- Posts : 383
Reputation : 4
Language : Greek, English and Slovak
- Post n°1
Embedding facebook videos..
SLGray- Administrator
- Posts : 51554
Reputation : 3523
Language : English
Location : United States
- Post n°2
Re: Embedding facebook videos..
Do you have HTML on for the forum and in your profile?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Menos- Forumember
- Posts : 383
Reputation : 4
Language : Greek, English and Slovak
- Post n°3
Re: Embedding facebook videos..
Yes I do.
The html actually has a configuration on the posts that if you click it, it doesn't make html work.. that is unchecked, and in my profile it is checked.. so I guess that my settings are correct.
The html actually has a configuration on the posts that if you click it, it doesn't make html work.. that is unchecked, and in my profile it is checked.. so I guess that my settings are correct.
SLGray- Administrator
- Posts : 51554
Reputation : 3523
Language : English
Location : United States
- Post n°4
Re: Embedding facebook videos..
Please post the code for the video in the code tags.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Menos- Forumember
- Posts : 383
Reputation : 4
Language : Greek, English and Slovak
- Post n°5
Re: Embedding facebook videos..
SLGray- Administrator
- Posts : 51554
Reputation : 3523
Language : English
Location : United States
- Post n°6
Re: Embedding facebook videos..
Please post just the code here in the code tags.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Menos- Forumember
- Posts : 383
Reputation : 4
Language : Greek, English and Slovak
- Post n°7
Re: Embedding facebook videos..
Sorry.. Â
<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/photo.php?v=542876499097750" data-width="466"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/photo.php?v=542876499097750">Post</a> by <a href="https://www.facebook.com/aldo.silva.9085">Aldo Silva</a>.</div></div>
<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/photo.php?v=542876499097750" data-width="466"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/photo.php?v=542876499097750">Post</a> by <a href="https://www.facebook.com/aldo.silva.9085">Aldo Silva</a>.</div></div>
SLGray- Administrator
- Posts : 51554
Reputation : 3523
Language : English
Location : United States
- Post n°8
Re: Embedding facebook videos..
Are you sure that is the correct code, because I do not see anything about a video.
When I tried this in a HTML page, I got just this:
Post by Aldo Silva.
When I tried this in a HTML page, I got just this:
Post by Aldo Silva.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Menos- Forumember
- Posts : 383
Reputation : 4
Language : Greek, English and Slovak
- Post n°9
Re: Embedding facebook videos..
If you check my first picture you can see I had the same thing (with some unknown extra codes changed by the forum..
Original facebook code:
Code previewed in my forum:
Original facebook code:
- Spoiler:
- <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/photo.php?v=542876499097750" data-width="466"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/photo.php?v=542876499097750">Post</a> by <a href="https://www.facebook.com/aldo.silva.9085">Aldo Silva</a>.</div></div>
Code previewed in my forum:
- Spoiler:
- (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 = "https://connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));
Post by Aldo Silva.
SLGray- Administrator
- Posts : 51554
Reputation : 3523
Language : English
Location : United States
- Post n°10
Re: Embedding facebook videos..
I mean are you sure that is the correct code to use to share videos from Facebook. Also did the video on Facebook exactly have a way to share it?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Menos- Forumember
- Posts : 383
Reputation : 4
Language : Greek, English and Slovak
- Post n°11
Re: Embedding facebook videos..
SLGray- Administrator
- Posts : 51554
Reputation : 3523
Language : English
Location : United States
- Post n°12
Re: Embedding facebook videos..
So when you pressed the embed link and the pop up box appeared, you copied and pasted that code in your forum?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Menos- Forumember
- Posts : 383
Reputation : 4
Language : Greek, English and Slovak
- Post n°13
Re: Embedding facebook videos..
Exactly that.Â
Did you check the 2 spoilers I have on my last edited message?
Maybe you can understand them.. I know I can't..Â
Did you check the 2 spoilers I have on my last edited message?
Maybe you can understand them.. I know I can't..Â
SLGray- Administrator
- Posts : 51554
Reputation : 3523
Language : English
Location : United States
- Post n°14
Re: Embedding facebook videos..
I was going to say that the code looked like a JavaScript code.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Menos- Forumember
- Posts : 383
Reputation : 4
Language : Greek, English and Slovak
- Post n°15
Re: Embedding facebook videos..
My thoughts exactly SLGray.. that's why I came to you guys to help me out.. maybe with a Java code or something..
I have no idea of Javascripts and how they work..
I have no idea of Javascripts and how they work..
Ange Tuteur- Forumaster
- Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania
- Post n°16
Re: Embedding facebook videos..
Hello Menos,
The problem comes from the inline <script> tag, it is not allowed to format. This isn't a bad thing as it prevents spammers and such from posting malicious code on your forum. You can of course make these videos work by doing the following :
Administration panel > Modules > JavaScript codes management
Create a new script :
Title : your choice
Placement : In all the pages
Paste the code below and submit :
Then remove the script from your HTML so you have :
The problem comes from the inline <script> tag, it is not allowed to format. This isn't a bad thing as it prevents spammers and such from posting malicious code on your forum. You can of course make these videos work by doing the following :
Administration panel > Modules > JavaScript codes management
Create a new script :
Title : your choice
Placement : In all the pages
Paste the code below and submit :
- Code:
(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'));
Then remove the script from your HTML so you have :
- Code:
<div id="fb-root"></div>
<div class="fb-post" data-href="https://www.facebook.com/photo.php?v=542876499097750" data-width="466"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/photo.php?v=542876499097750">Post</a> by <a href="https://www.facebook.com/aldo.silva.9085">Aldo Silva</a>.</div></div>
Menos- Forumember
- Posts : 383
Reputation : 4
Language : Greek, English and Slovak
- Post n°17
Re: Embedding facebook videos..
Your idea worked like a charm! Â Â
My respects Ange Tuteur!!
Topic is solved!
My respects Ange Tuteur!!
Topic is solved!
Ange Tuteur- Forumaster
- Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania
- Post n°18
Re: Embedding facebook videos..
You're welcome
Topic archived
Have a good day !
Topic archived
Have a good day !