@lls/lls-audio 0.0.40 → 0.0.42
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.
- package/package.json +1 -1
- package/player/index.js +13 -0
package/package.json
CHANGED
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.ref.audio.play();
|
|
228
|
+
}
|
|
229
|
+
}, {
|
|
230
|
+
key: 'pause',
|
|
231
|
+
value: function pause() {
|
|
232
|
+
this.ref.audio.pause();
|
|
233
|
+
}
|
|
221
234
|
}, {
|
|
222
235
|
key: 'render',
|
|
223
236
|
value: function render() {
|