0.6.2 • Published 1 year ago

nypr-audio-services v0.6.2

Weekly downloads
89
License
MIT
Repository
github
Last release
1 year ago

nypr-audio-services

Maintainability Test Coverage

This repo is the home of all audio-related controls in use by the web-clients. It's mostly in the form of components, but there are also a handful of services used in the orchestration of responses to events triggered by ember-hifi.

components

  • listen-button
    • The primary UI widget through which users will start playback
    • Includes multiple variations that are controlled by a type parameter, which controls a set of CSS classes and inheritance
    • The bouncing animation is controlled by JS and based on a run-time measurement of the button's DOM dimensions
    • Includes a nested component which is configured to replace server-rendered HTML with an ember component
    • Includes a callback parameter called playButtonClickedAction to be invoked as a callback when listen-button is tapped when in a play (as opposed to pause) state.
  • queue-button
    • The primary UI widget for adding and removing a piece of audio to a local queue
  • player-notification
    • slide up notification bar used to display messages from the player
  • nypr-player-integration
    • translates property names from story and stream model attributes to unified keys that the player can consume
  • stream-banner
    • sophisticated UI widget to display and play stream objects and their metadata
  • clear-history
    • UI for the clearHistory method on the listen-history service
  • player-history
  • player-queue
  • queue-history
  • queue-listitem
  • text-crawl

services

  • dj
    • orchestrates play requests and fetches records if passed an id
  • action-queue
    • allows for event listeners to order up by priority and prevent subsequent listeners from running

Installation

$ npm i nypublicradio/nypr-audio-services
$ ember g nypr-audio-services

Development

  • git clone git@github.com:nypublicradio/nypr-audio-services
  • cd nypr-audio-services
  • npm install

Running

  • ember serve
  • Visit your app at http://localhost:4200. (this will just be a blank page since there are no templates or routes defined for the dummy app on this addon).

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://ember-cli.com/.

Publishing

This addon is published to npm using semver. See the wiki for more instructions.

0.6.2

1 year ago

0.6.1

4 years ago

0.6.0

6 years ago

0.5.9

6 years ago

0.5.8

6 years ago

0.5.6

6 years ago

0.5.5

7 years ago

0.5.4

7 years ago

0.5.3

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.4.0-beta.12

7 years ago

0.4.0-beta.11

7 years ago

0.4.0-beta.10

7 years ago

0.4.0-beta.9

7 years ago

0.4.0-beta.8

7 years ago

0.3.10

7 years ago

0.4.0-beta.7

7 years ago

0.4.0-beta.6

7 years ago

0.3.9

7 years ago

0.3.8

7 years ago

0.3.7

7 years ago

0.3.6

7 years ago

0.4.0-beta.5

7 years ago

0.4.0-beta.4

7 years ago

0.4.0-beta.3

7 years ago

0.4.0-beta.2

7 years ago

0.4.0-beta.1

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.7

7 years ago

0.0.10

7 years ago

0.2.6

7 years ago

0.2.5

7 years ago

0.0.9

7 years ago

0.2.4

7 years ago

0.0.8

8 years ago

0.2.3

8 years ago

0.0.7

8 years ago

0.2.2

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.2.1

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.2.0

8 years ago

0.2.0-0

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago