1.12.1 • Published 6 years ago

@pie-api/pie-api-player v1.12.1

Weekly downloads
17
License
ISC
Repository
-
Last release
6 years ago

A custom element that renders pies and interacts with pie-api.

install

npm install

commands

commandsdescription
demo/run --port XXXX (default: 4001)run demo code, see below
npm test
npm run releasecommit the release to github and send the webpack bundle to s3
npm run buildbuild the bundle
npm run deploy-to-s3send the webpack bundle to s3

demo

When you run the demo, you get a little demo page where you can see the player element in use. Also you can use /player.js in other applications. This can be useful if you need to load it up in another app.

build

The build outputs a reqular npm package + a webpack bundle (player.js and player.js.map). This is until we figure out how this is best consumed in the pie-api.

Usage

<pie-api-player token="token" itemId="itemId" host="host"></pie-api-player>

todos..

  • instance lifecycle handling
  • multiple instances on page
  • session id support
  • s3 deploy w/ tagged version?
2.0.1-beta.6

6 years ago

2.0.1-beta.5

6 years ago

2.0.1-beta.4

6 years ago

2.0.1-beta.3

6 years ago

2.0.1-beta.2

7 years ago

2.0.1-beta.1

7 years ago

2.0.1-beta.0

7 years ago

2.0.0

7 years ago

1.12.1

7 years ago

1.12.0

7 years ago

1.11.0

7 years ago

1.10.4

7 years ago

1.10.3

7 years ago

1.10.2

7 years ago

1.10.1

7 years ago

1.10.0

7 years ago

1.9.0

7 years ago

1.8.1

7 years ago

1.8.0

7 years ago

1.7.1

7 years ago

1.6.1

7 years ago

1.6.0

7 years ago

1.5.2

7 years ago

1.2.2

7 years ago