Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Embed FB video
Avatar
Vinny Olito
Member
Free Members
sp_UserOfflineSmall Offline
Mar 12, 2015 - 5:18 pm

anyway to embed FB video tried2 popular ways with no luck...new here so probably this question was asked before :) couldnt find it anywhere

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 12, 2015 - 5:45 pm

Hey Vinny,

Actually I'm not sure that question has been asked before.. I guess you're talking about Facebook, and it looks like they're trying their hardest to make it difficult!

After spending a while searching for someone on my friends list who has a video uploaded, it looks like the only embed option is either HTML for embedding on your website, or iframes - and you really shouldn't let your users post iframes.

Short answer is I'm not sure, probably best to wait and see if Andy or Steve can take a look.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 12, 2015 - 5:54 pm

sorry - I am not a FaceBook user so... is there a simp,e url to these videos available and have you tried simply pasting that url into a post? If faceBook supports oEmbed and if WordPress has included it on it's list then that should just work.

Failing that is anybody able to give is a public link to one so we can look at the options?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Vinny Olito
Member
Free Members
sp_UserOfflineSmall Offline
Mar 13, 2015 - 8:55 am

Seems like most are using <embed> tags or this code with changing xxx to FB video ID:

 

object width="400" height="224" 
 <param name="allowfullscreen" value="true" /> 
 <param name="allowscriptaccess" value="always" /> 
 <param name="movie" value="http://www.facebook.com/v/xxx" /> 
 <embed src="http://www.facebook.com/v/xxx" type="application/x-shockwave-flash"  
   allowscriptaccess="always" allowfullscreen="true" width="400" height="224"> 
 </embed> 
/object

 

I am not that advanced and couldn't get 2nd to work either thnx

Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Mar 13, 2015 - 11:43 am

Ike said
Hey Vinny,

Actually I'm not sure that question has been asked before.. I guess you're talking about Facebook, and it looks like they're trying their hardest to make it difficult!

After spending a while searching for someone on my friends list who has a video uploaded, it looks like the only embed option is either HTML for embedding on your website, or iframes - and you really shouldn't let your users post iframes.

Short answer is I'm not sure, probably best to wait and see if Andy or Steve can take a look.

Why is allowing ifames a bad thing?  I have read that is a security issue, but I have also read that it is not a security issue?  I see that a lot of the video embeds are in iframes?  Also, how can one embed a tweet?  

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 13, 2015 - 2:54 pm

if you allow embedding an iframe allows many things to happen... first, any user can display content from any site which could contain malware...  clickjacking can occur... in addition, you could open yourself up to XSS attacks...

basically, you are letting anyone who can post, have quite a bit of free reign...

but all that said, as mentioned in multiple posts here, if you really want to allow iframes, there is a permission you can give users that allow them to do so...  but you really need to trust your users...

Avatar
Vinny Olito
Member
Free Members
sp_UserOfflineSmall Offline
Mar 13, 2015 - 4:01 pm

FYI I was looking for a secure way if it is even possible, even easy like youtube  just add link :)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 13, 2015 - 4:37 pm

remember, youtube, twitter, etc embed stuff is handled by WP....  they currently dont support facebook in the same way...

Avatar
Tal
Member
Free Members
sp_UserOfflineSmall Offline
Oct 6, 2015 - 1:14 pm

Jetpack allows facebook video embedding the same way youtube videos do, you just post the straight facebook vid link and voila!  Problem is, with SP if I paste a facebook vid link I just get a link and not the video like I do with youtube, can you suggest a way to get around this?

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 6, 2015 - 1:34 pm

Hey Tal,

As discussed above, it's not looking possible currently. If you did want to use iframes have you tried it? Would be interested to know if it works OK as I haven't tested.

Will try and take another look to see if anything has changed since March but it's doubtful.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625