Live Photos arrive on the web, thanks to Apple's new JavaScript-based API

If you own an iPhone, you might be familiar with a feature called Live Photos, which allows you to essentially capture a series of pictures, complete with sound, and create a kind of moving image. This is quite similar to Living Images, which was available previously on Lumia Windows phones.

Regardless of whether you've used it or not, the ability to play back these live images has been available on iOS and macOS for some time, and has now finally come to the web via Apple's official JavaScript-based API.

The newly released application programming interface allows you to embed Live Photos, which can be played back, in apps on iOS and macOS, as well as web apps.

As per the official documentation:

The JavaScript API presents the player in the form of a DOM element, much like an image or video tag, which can be configured with photo and video resources and other options, and have its playback controlled either programmatically by the consuming developer, or via pre-provided controls by the browsing end-user.

More information can be found at Apple's dedicated portal, with developers being given access to the LivePhotosKit API via NPM. Of course, there's also API reference available.

Source: 9to5Mac

Report a problem with article
1492805170_googleearth
Next Article

Google starts celebrating Earth Day early, offers tips on how to save the planet

1492802586_pl
Previous Article

DOTA 2's Ranked Matchmaking will only be available to accounts with a linked phone number

3 Comments - Add comment

Advertisement