Facebook launches new video embed API and Apple Watch/TV SDK

Facebook launches new video embed API and Apple Watch/TV SDK

Facebook has already provided a lot of useful tools for developers, and today, the company released a new video embedding API and SDK for Apple Watch / Apple TV. This API can bring Facebook-style features to videos embedded in websites. Developers can choose whether to play automatically, and it also provides the common playback status bar and play/pause buttons.

Videos created through this API can also be interactive.

The example Facebook provides is a Selena Gomez video (on the Facebook Developers site), where users can view a tour log through a slide-out menu or subscribe to a newsletter for more information.

The two newly added Parse SDKs are for Apple Watch and Apple TV respectively. The open source community can use this to speed up the launch process, but its core concept still sounds very familiar:

Our primary goal was to create a familiar software development kit similar to the existing iOS or OS X SDK, while making it easier than ever to create native apps for tvOS and watchOS 2.

Of course, one issue the Facebook team faced was local storage on tvOS (which was not easy to implement on Apple TV), and they had to refactor local data persistence on the iOS SDK. Facebook also introduced a new login flow for Apple TV, which allows users to log in to the app through an ad hoc solution.

The new Apple Watch SDK is designed specifically for watchOS 2, which is an iteration of the watchOS 1 SDK. Now, developers can create native apps for Apple Watch, but Facebook did not disclose whether the SDK supports Custom Complications.

<<:  Take a look at the posts on Zhihu - "Why are some big companies so weak in technology?"

>>:  Google Chrome finally supports CSS Variables

Recommend

Product operation tips: What are the methods to improve product conversion rate?

When we start promoting a product, the first thing...

Suddenly, WeChat suspended account registration. This is what happened.

Today's WeChat is no longer the simple chat s...

Android takes you to analyze ScrollView-imitation QQ space title bar gradient

[[190235]] introduction Today we are going to stu...

What kind of insect is the "katydid" in "The Book of Songs"?

Produced by: Science Popularization China Author:...

The world's first! Chinese scientists reveal details of its birth

Scientists reveal details of the creation of a hi...

The “traffic pool” of programmatic advertising: SSP

The SSP platform is an advertising platform that ...

I have summarized 9 writing styles for 100,000+ soft articles for you!

No matter how the content of a soft article chang...

How to prevent cardiovascular and cerebrovascular diseases in summer?

Author: Sun Taixin, Chief Physician, Beijing Elec...

Why do we sneeze when we see bright light? | Science Museum

Have you ever seen this phenomenon: you are fine ...