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

Baidu announces the opening of its autonomous driving platform

Baidu has launched a new program called "Apo...

Why You Should Try Full Stack

[[146504]] When programmers see the concept of fu...

5 ways to create original short videos!

Nowadays, almost everyone will watch Douyin for a...

Operators’ worries: 4G die-hards unwilling to upgrade and “move”

Are you a 4G die-hard who is unwilling to move? I...

Why did dinosaurs escape the end-Triassic mass extinction? The answer is found

◎ Science and Technology Daily reporter Zhang Ye ...

iPhone 6 App Running Speed ​​VS Samsung Galaxy S6

When many users choose a smartphone , program run...

H5 fission communication skills that can sweep the screen!

In recent years, H5 has gone from being easy to f...