Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

livephotoskit

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

livephotoskit

Play Live Photos on the web

  • 1.4.11
  • npm
  • Socket score

Version published
Weekly downloads
149
increased by25.21%
Maintainers
2
Weekly downloads
 
Created
Source

LivePhotosKit JS

Use the LivePhotosKit JS library to play Live Photos on your web pages.

Overview

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.

Documentation

For more detailed documentation, see https://developer.apple.com/reference/livephotoskitjs

For information about Live Photos for developers, see https://developer.apple.com/live-photos

Installation

Using npm

Install and save LivePhotosKit JS:

npm install --save livephotoskit

Import LivePhotosKit JS (ES6/TypeScript):

import * as LivePhotosKit from 'livephotoskit';

A TypeScript type definition file is included in the distribution and will automatically be picked up by the TypeScript compiler.

Using the Apple CDN

<script src="https://cdn.apple-livephotoskit.com/lpk/1/livephotoskit.js"></script>

A TypeScript type definition file is available at

https://cdn.apple-livephotoskit.com/lpk/1/livephotoskit.d.ts

Note

The LivePhotosKit JS version number is in the URL. For example, 1 specifies LivePhotosKit JS 1.x.x.

You will then be able to access LivePhotosKit JS via window.LivePhotosKit.

Browser Compatibility

The LivePhotosKit JS player supports the following browsers:

  • On macOS: Safari, Chrome, Firefox
  • On iOS: Safari, Chrome
  • On Windows: Chrome, Firefox, Edge, Internet Explorer 11
  • On Android: Chrome (Performance depends on device)

Keywords

FAQs

Package last updated on 21 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc