Skip to main content [aditude-amp id="stickyleaderboard" targeting='{"env":"staging","page_type":"article","post_id":1852133,"post_type":"story","post_chan":"none","tags":null,"ai":false,"category":"none","all_categories":"dev,","session":"D"}']

Facebook’s latest API embeds videos right into apps

Facebook

Image Credit: Franco Bouly

Facebook says it has improved the way we embed public videos and posts from the social network. The company has released an API that now gives developers support for embedding video players into their applications and websites. The move comes nine months after Facebook unveiled a way for users to share content onto third-party sites.

With this new API, developers can customize the video player to showcase videos in a manner that works for their app, rather than be beholden to Facebook’s standard. Other features that can be added include enabling autoplay, managing the volume, creating playlists, running event and error handling, and more. Developers can also opt to show synchronized view counts.

[aditude-amp id="flyingcarpet" targeting='{"env":"staging","page_type":"article","post_id":1852133,"post_type":"story","post_chan":"none","tags":null,"ai":false,"category":"none","all_categories":"dev,","session":"D"}']

In a blog post, Facebook cites the below video from Interscope Records featuring artist Selena Gomez. The company wrote that the record label utilized a “fully customized version of the Facebook embed using the Facebook chromeless player.” As part of that development work, Interscope Records added links for fans to purchase concert tickets, share it to their Facebook or Instagram pages, and subscribe for more info about the artist.

AI Weekly

The must-read newsletter for AI and Big Data industry written by Khari Johnson, Kyle Wiggers, and Seth Colaner.

Included with VentureBeat Insider and VentureBeat VIP memberships.

In addition, Facebook has also revealed that it is now supporting the open standard known as oEmbed, which makes it easier to embed public content from the social network by simply copying and pasting a URL.

VentureBeat's mission is to be a digital town square for technical decision-makers to gain knowledge about transformative enterprise technology and transact. Learn More