iLoungeiLounge
  • News
    • Apple
      • AirPods Pro
      • AirPlay
      • Apps
        • Apple Music
      • iCloud
      • iTunes
      • HealthKit
      • HomeKit
      • HomePod
      • iOS 13
      • Apple Pay
      • Apple TV
      • Siri
    • Rumors
    • Humor
    • Technology
      • CES
    • Daily Deals
    • Articles
    • Web Stories
  • iPhone
    • iPhone Accessories
  • iPad
  • iPod
    • iPod Accessories
  • Apple Watch
    • Apple Watch Accessories
  • Mac
    • MacBook Air
    • MacBook Pro
  • Reviews
    • App Reviews
  • How-to
    • Ask iLounge
Font ResizerAa
iLoungeiLounge
Font ResizerAa
Search
  • News
    • Apple
    • Rumors
    • Humor
    • Technology
    • Daily Deals
    • Articles
    • Web Stories
  • iPhone
    • iPhone Accessories
  • iPad
  • iPod
    • iPod Accessories
  • Apple Watch
    • Apple Watch Accessories
  • Mac
    • MacBook Air
    • MacBook Pro
  • Reviews
    • App Reviews
  • How-to
    • Ask iLounge
Follow US

News › Apple

AppleiPhoneTechnology

Apple releases JavaScript API for playing Live Photos on the web

Last updated: May 16, 2021 1:25 pm UTC
By Jesse Hollington
Apple releases JavaScript API for playing Live Photos on the web

Apple has unveiled LivePhotosKit JS, a new JavaScript API that will allow web developers to incorporate support for playback of iOS Live Photos into their web pages. The API presents the player as a DOM element in a similar way to an image or video tag, and can be customized with photo and video resources and developers can choose to either control playback programmatically or provide controls to the end user.


Apple releases JavaScript API for playing Live Photos on the web

The new API is also relatively easy for web developers to implement, requiring only that they embed the JavaScript in their webpage and then enable JavaScript strict mode; an NPM installer is also available. Inline players are then added to HTML blocks using declarative markup.

The new LivePhotosKit JS player is supported by most modern browsers, including Safari and Chrome on iOS and macOS, Chrome and Firefox on macOS and Windows, Edge and Internet Explorer 11 on Windows, and Chrome beta on Android devices.

.

Latest News
The Apple Watch Series 11 46mm GPS Is $100 Off
The Apple Watch Series 11 46mm GPS Is $100 Off
1 Min Read
Clamshell Style iPhone Being Looked Into By Apple
Clamshell Style iPhone Being Looked Into By Apple
1 Min Read
Foldable iPhones May Have the Largest Battery Ever
Foldable iPhones May Have the Largest Battery Ever
1 Min Read
Apple and TSMC’s 10-Year Collaboration May Be Ending
Apple and TSMC’s 10-Year Collaboration May Be Ending
1 Min Read
The 13-inch M5 iPad Pro 256GB Wi-Fi Is $149 Off
The 13-inch M5 iPad Pro 256GB Wi-Fi Is $149 Off
1 Min Read
M5 Pro and M5 Max Chips for the MacBook Pro could Roll Out with macOS 26.3
M5 Pro and M5 Max Chips for the MacBook Pro could Roll Out with macOS 26.3
1 Min Read
Mac Ordering Process Revamped
Mac Ordering Process Revamped
1 Min Read
Check Signed By Steve Wozniak and Steve Jobs Sold For $2.4 Million
Check Signed By Steve Wozniak and Steve Jobs Sold For $2.4 Million
1 Min Read
The Anker 140W 4-Port GaN USB-C Charger is $35 Off
The Anker 140W 4-Port GaN USB-C Charger is $35 Off
1 Min Read
No iPhone Air 2 This Year, according to Latest Report
No iPhone Air 2 This Year, according to Latest Report
1 Min Read
New Report Corroborates Split iPhone Release Dates
New Report Corroborates Split iPhone Release Dates
1 Min Read
Apple Losing More Researchers As They Plan To Release 2 Siri Versions
Apple Losing More Researchers As They Plan To Release 2 Siri Versions
1 Min Read

iLounge logo

iLounge is an independent resource for all things iPod, iPhone, iPad, and beyond. iPod, iPhone, iPad, iTunes, Apple TV, and the Apple logo are trademarks of Apple Inc.

This website is not affiliated with Apple Inc.
iLounge © 2001 - 2025. All Rights Reserved.
  • Contact Us
  • Submit News
  • About Us
  • Forums
  • Privacy Policy
  • Terms Of Use
Welcome Back!

Sign in to your account

Lost your password?