Skip to content

Display Apple/iPhone Live Photos #250

@damianmoore

Description

@damianmoore

A user asked if we display Live Photos. I assume Photonix would show the static image content but not the video part. It would be nice to allow the user to hover/click an overlayed icon when viewing the photo that would play the video and then return to the photo.

Apple have a library on NPM but it's not been updated in 2 years, could have licensing issues, is apparently error-prone, has low useage numbers and is provided as only minified JS. https://www.npmjs.com/package/livephotoskit https://developer.apple.com/live-photos/ . There are a couple of react libraries that depend on Apple's.

It coud be simple enough to not require Apple's library if this post is to go by: https://medium.com/@kielnicholls/embedding-livephotos-on-a-web-page-5dfa9b8b83e3

Things that we probably need to do:

  • Extract video file from JPG if embedded that way
  • Have a way of linking video file to a PhotoFile
  • Convert video file to play in all browsers
  • GraphQL query that tells UI that photo has a live video
  • Changes to PhotoDetail React UI to overlay button and play video

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions