简体   繁体   中英

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

我想知道是否可以在网站上嵌入 Facebook 实时视频流,以及如何进行。

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/

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM