Question: FB Video Embed - Without iframe (remove share, like, bookmark controls) and use HTML video element

Question

FB Video Embed - Without iframe (remove share, like, bookmark controls) and use HTML video element

Answers 0
Added at 2016-12-25 20:12
Tags
Question

I am trying to embed facebook videos in a simple node-express application. I am following the fb dev website and it working kind of fine. But I came across this website recently and in the lower part of a page on that website, they have embedded fb videos (and also images) that looked much, much cleaner.

When I looked at the approach on the fb dev website, I found that the method they are suggesting uses iframe (and hence we see all those like, bookmark, share, etc buttons) where as the latter website, shows the videos w/o iframe by providing the fb-cdn url as source to video element. Thus without those fb buttons, it gives clutter free user experience.

I tried digging deeper in the dev tools to get the cdn url for a video to try it out but for some reason it isn't there. I also tried looking for a script, etc on the web and on fb dev portal but didn't find any. What am I missing here?

Current output - enter image description here

Desired output - enter image description here

Answers
Source Show
◀ Wstecz