soundcloud-audio
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -124,2 +124,8 @@ 'use strict'; | ||
SoundCloud.prototype.stop = function () { | ||
this.audio.pause(); | ||
this.audio.currentTime = 0; | ||
this.playing = false; | ||
}; | ||
SoundCloud.prototype.next = function () { | ||
@@ -126,0 +132,0 @@ if (this._playlist && this._playlist.tracks.length) { |
{ | ||
"name": "soundcloud-audio", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Play SoundCloud tracks and playslists in modern browsers with HTML5 Audio API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -93,2 +93,6 @@ # <img src="http://www.officialpsds.com/images/thumbs/Soundcloud-Logo-psd47614.png" width="75" align="left"> soundcloud-audio.js | ||
#### `stop()` | ||
Stop playing audio and rewind it to start. | ||
#### `next()` | ||
@@ -95,0 +99,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14154
148
169