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