Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook embeded video with iframe not working

we were embedding facebook videos in our website using iframe, it was working fine before, but from last few days site is not able to load video. we have tried it with simple web page as well but no luck. below is the code we are using

<iframe src="https://www.facebook.com/video/embed?video_id=video_id" width="650" height="400" frameborder="0" allowfullscreen></iframe>

please let me know if anyone can do a quick help

like image 918
user3738634 Avatar asked Dec 15 '22 19:12

user3738634


1 Answers

Just Use this link. It worked for me. "http://www.facebook.com/video/embed?video_id=XXXXXXXXXXXXX"; where XXXXXXXX is your facebook video id. eg: Facebook Sample Video:

 <iframe src="http://www.facebook.com/video/embed?video_id=10152463995718183" frameborder="0" width="100%" height="100%">
like image 123
gaurav sharma Avatar answered Jan 12 '23 05:01

gaurav sharma