@lls/lls-audio 0.0.41 → 0.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/player/index.js +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/lls-audio",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
4
4
  "main": "index.js",
5
5
  "devDependencies": {
6
6
  "@kadira/storybook": "^2.21.0",
package/player/index.js CHANGED
@@ -218,6 +218,19 @@ var Player = function (_Component) {
218
218
  }
219
219
  });
220
220
  }
221
+ }, {
222
+ key: 'play',
223
+
224
+
225
+ /* Play and pause will be called from the outside */
226
+ value: function play() {
227
+ this.refs.audio.play();
228
+ }
229
+ }, {
230
+ key: 'pause',
231
+ value: function pause() {
232
+ this.refs.audio.pause();
233
+ }
221
234
  }, {
222
235
  key: 'render',
223
236
  value: function render() {