How do I embed a Facebook live ( video ) URL on a my website

大兔子大兔子 提交于 2021-02-04 07:23:23

问题


I'm wondering if it is possible to embed a facebook live video stream, on a website, and how you go about doing it.


回答1:


You can embed Facebook live stream as simple

Just use your iframe src link like this:

src="https://www.facebook.com/plugins/video.php?href=https://www.facebook.com/username/live"

Example: https://jsfiddle.net/32ntsf04/




回答2:


FB does not give you an easy way to stream live on a website while you are live on FB but it is possible. You would just grab the embed code just like you would from any FB video. You would then need to update the Live video ID in the embed code every time you are live... not very convenient.

You get the Facebook Live Video ID from the URL of the page you are live on.

There are a few wordpress plugins that will help you do this, or you can look at https://vidlive.co. Create a widget, put it on any website and it will stream live when your are live on FB.



来源:https://stackoverflow.com/questions/41232848/how-do-i-embed-a-facebook-live-video-url-on-a-my-website

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!