Developers will now be able to add Live Photos as a DOM element just as if they were to add a video or photo on their website. Developers will be given the option to control how long they want the media to play or to only play when users hover over the “LIVE” button.
The LivePhotosKit JS API is now available on NPM with code samples shared in the API reference. The first website to introduce Live Photos was Tumblr last year, some have reported that Tumblr inspired Apple to build its own API for developers.
Source info: Engadget
Come comment on this article: Live Photos Will Now Work On Any Website