shahzeb1 / soundcloud-player Goto Github PK
View Code? Open in Web Editor NEW๐ถ A proof of concept SoundCloud player which uses public API's to play music in the browser.
Home Page: https://shahzeb1.github.io/soundcloud-player/
๐ถ A proof of concept SoundCloud player which uses public API's to play music in the browser.
Home Page: https://shahzeb1.github.io/soundcloud-player/
Currently new songs can be played by copying the link of new songs from soundcloud.com, but once the page is refreshed, it only shows the predefined three songs. So things needed to be implemented.
Instead of the user having to place an <iframe>
in their HTML webpage, have our soundcloud-player.js
insert the iFrame into the page, along with its accompanying style.
To be taken on after #3 is complete.
So right now mySC.js includes both the code for (a) interacting with SoundCloud (getting info / playing actual song) and (b) interacting with our UI (managing the play / pause button getting clicked.
(a) and (b) should be split up. (a) should be placed into its own soundcloud-player.js
module. It should include the key functions which should allow for anyone to include the <script>
and grab info / play music.
mySC.js
and soundcloud-player.js
into two distinct filessoundcloud-player.js
includes all the soundcloud related functionssoundcloud-player.js
soundcloud-player.js
module.If the song is playing then show the pause button.
If the song is paused (or not playing) then show the play button.
The section/code you should focus on: These lines.
Good issue for beginners!
Under the "Change song" button, have 3 album covers for songs from SoundCloud. Once album is clicked, that song should queue up, info should change, and it should play.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.