Code

Facebook Live Video Auto Embed for WordPress

Facebook Live Video Auto Embed for WordPress

What is it for?

Automatically embed live videos of your Facebook account (or Public Facebook Pages or Public Facebook Groups) on your wordpress site whenever you (or the Facebook Page or Group) go live on Facebook. The plugin detects if you (or the Facebook Page or Group) are currently live and embeds the live video automatically. Also has the ability to embed previously recorded live videos and uploaded videos. Also has ability to configure a Site Wide Top Notification Bar to be displayed when you (or the Facebook Page or Group) go live.

Features:

  1. Ability to create Embed codes (WordPress shortcode call) for your Facebook account (or Public Facebook Pages or Public Facebook Groups). Use the embed code anywhere in content of your website (posts, pages etc). Whenever the user/page/group goes live, the live video will automatically get embedded in the content where the code is placed.
  2. Ability to create Embed codes for previously recorded live videos of your Facebook account (or Public Facebook Pages or Public Facebook Groups). Use the embed code anywhere in content of your website (posts, pages etc). Recent live videos of the user/page/group will be embedded in the content where the code is placed.
  3. Ability to create Embed code for uploaded videos of your Facebook account (or Public Facebook Pages or Public Facebook Groups). Use the embed code anywhere in content of your website (posts, pages etc). Uploaded videos of the user/page/group will be embedded in the content where the code is placed.
  4. Ability to enter Max Number of Videos to be embedded. There is no limit.
  5. Ability to enter custom message for visitors to be displayed above the video player.
  6. Ability to enter custom alternate message to communicate with visitors when the Facebook user/page/group is not live.
  7. Ability to enter custom alternate message to communicate with visitors when no recent live video is available.
  8. Ability to use WordPress Shortcodes in Alternate Message and Top Message.
  9. Ability to enter custom width of the video player.
  10. Responsive out of the box.
  11. Ability to show full Facebook post (video description and buttons for like/comment/share) attached to the video player. This feature is Desktop Only, Facebook has disabled it for mobile devices.
  12. Ability to allow/ disallow Fullscreen mode (for recorded videos and uploaded videos only).
  13. Ability to cache the recorded videos and uploaded videos, and set cache refresh time. This is useful for reducing server load and number of API requests.
  14. Ability to use same embed code at multiple places on your website.
  15. Ability to use multiple embed codes within single post/page of WordPress
  16. Ability to configure a Site Wide Top Notification Bar to be displayed when the Facebook user/page/group goes live.
  17. Notification bar is AJAX based. So it appears automatically on an opened page of the website without the need to refreshing it.
  18. Ability to customize the look of Notification Bar.
  19. Ability to make the Notification Bar sticky.
  20. Ability to add blinking effect to Notification bar.

Documentation

             

Update Log

Update V 2.4
- New Feature: Support for Facebook User accounts added. Now all features can be used for a Facebook User account as well.
- New Feature: Support for Facebook Public Groups added. Now all features can be used for Facebook Public Groups as well.
- Issue fixed: Error “Please reduce the amount of data you are asking for” was sometimes appearing for Facebook pages with very high following. Fixed in this update.
- Removed configuration option “Hide if Live”. It was no longer required after being able to add Shortcodes to Alternate Message.
- Bug Fix: Notification bar was getting hidden behind sticky (fixed position) header menu of some websites. This issue has been fixed.
Update V 2.3
- New feature: Ability to use WordPress Shortcodes in Top Message and Alternate Message fields.
- Possibility of namespace conflict with any other plugin using Facebook PHP SDK has been removed.
- Removed “Refresh” button from Live Video Alternate Message as now there is no need to ask the user to refresh the page because notification bar will appear automatically when live video starts.
Update V 2.2
- Improvement: Now Site Wide Notification is AJAX based. If the Facebook page goes live, the notification will appear automatically without the need of page refresh. Once the Facebook page goes live, the bar can take 1 to 75 seconds to appear.
- Bug Fix: With some themes, JS was being wrapped in HTML tags, this issue has been fixed by removal of JS script from Shortcode output.
Update V 2.1
- New feature: New configuration option for recently recorded/uploaded videos i.e. “Hide if Live”. If this option is selected the plugin will not display anything from this embed code if there is already a live video on the website page.
Update V 2.0
- This a major update with new functionality of Site Wide Top Notification Bar.
- Many UI/UX improvements in the admin section of the plugin.
Update V 1.2
- Fixed bug Request timed out.
- Fixed bug where plugin tried to embed non embeddable videos. Now checks before embedding, if the video is non embeddable it just skips it.
Update V 1.1
- Added new feature to embed uploaded videos (i.e. other than currently live or recorded live videos) of Facebook pages which was not there in the previous version.
- Loader image was appearing in some videos even after the video was loaded. Fixed.

PHP Version

Requires PHP 5.4 or above
by
by
by
by
by
by