New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

soundcloud-audio

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

soundcloud-audio - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

bower.json
{
"name": "soundcloud-audio",
"main": "dist/soundcloud-audio.js",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/voronianski/soundcloud-audio.js",

@@ -6,0 +6,0 @@ "description": "Play SoundCloud tracks and playslists in modern browsers with HTML5 Audio API",

{
"name": "soundcloud-audio",
"version": "0.1.0",
"version": "0.1.1",
"description": "Play SoundCloud tracks and playslists in modern browsers with HTML5 Audio API",

@@ -14,2 +14,6 @@ "main": "index.js",

},
"repository": {
"type": "git",
"url": "https://github.com/voronianski/soundcloud-audio.js.git"
},
"keywords": [

@@ -16,0 +20,0 @@ "soundcloud",

# <img src="http://www.officialpsds.com/images/thumbs/Soundcloud-Logo-psd47614.png" width="75" align="left">&nbsp;soundcloud-audio.js
[![build status](http://img.shields.io/travis/voronianski/soundcloud-audio.js.svg?style=flat)](https://travis-ci.org/voronianski/soundcloud-audio.js)
> Wrapper around [HTML5 `<audio>`](https://developer.mozilla.org/en/docs/Web/HTML/Element/audio) and SoundCloud [tracks](https://developers.soundcloud.com/docs/api/reference#tracks) and [playlists](https://developers.soundcloud.com/docs/api/reference#playlists) APIs. It could be treated as small replacement for official [SoundCloud SDK](https://developers.soundcloud.com/docs/api/sdks#javascript).

@@ -74,6 +76,4 @@

If you don't have SoundCloud `stream_url` (e.g. `https://api.soundcloud.com/tracks/185533328/stream`) or you need track's metadata then this method is for you. Pass original track's or playlist's url as a first argument. Once data will be resolved without errors callback function will receive it as plain object as a second argument.
If you don't have SoundCloud `stream_url` (e.g. `https://api.soundcloud.com/tracks/:id/stream`) or you need track's metadata then this method is for you. Pass original track's or playlist's url as a first argument. Once data will be resolved without errors callback function will receive it as plain object as the only argument.
This method rely on a small [jsonp](https://www.npmjs.com/package/jsonp) solution in order to make API requests.
#### `play([options])`

@@ -146,2 +146,3 @@

- Add more methods of SoundCloud API (like `getTrackById` etc.)
- Provide streaming options and mimic events in order to easily integrate with [Waveform.js](http://waveformjs.org/)

@@ -148,0 +149,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc