Apple offers info on a Live Photos API [application programming interface] for developers

Apple’s developer website now offers info on a Live Photos API [application programming interface] dubbed LivePhotosKit building apps for macOS, iOS and tvOS. Developer can also use the LivePhotosKit JS library to play Live Photos on web pages.

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. The DOM is the way Javascript sees its containing pages' data.

Live Photos records what happens 1.5 seconds before and after you take a picture. The result is a photo but one with movement and sound. You take a Live Photo just like you do a traditional photo on an iPhone 6s and later.