Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.08 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.08 KB

Published on webcomponents.org

<live-photo>

Live Photo from Apple implemented in Polymer

<live-photo id="livePhoto" photo-src="demo/assets/boy.jpg" video-src="demo/assets/boy.mov" preload></live-photo>
<live-photo id="livePhoto" photo-src="demo/assets/girl.jpg" video-src="demo/assets/girl.mov" no-controls></live-photo>

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.