/live-photo

Live Photo from Apple implemented in Polymer

Primary LanguageHTML

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.