Change font size
It is currently 2020-09-19, 9:04 pm


Post a new topicPost a reply Page 1 of 3   [ 24 posts ]
Go to page 1, 2, 3  Next
Author Message
 Post subject: SoundCloud player script
PostPosted: 2013-01-09, 7:04 pm 

Joined: 2010-11-15
Posts: 21
Location: Hungary
I'm proudly announcing the first working version of the SoundCloud player script for cuenation.com.

This little scripts adds a SoundCloud player widget for cue pages where a soundcloud link is available. Then you can play and jump to the desired track as the mix is loading.

dl: http://userscripts.org/scripts/show/156118

Usage:
- navigate to a tracklist where a SoundCloud download link is available
- click play -> the player starts to load the track
- notice the (orange) marked tracks that are already available for playing
- click on one of the marked track
- Enjoy! :)

Currently available for Firefox + Greasemonkey. Chrome support is coming up next.

Any requests, bug reports are welcome at the mentioned url above.


Top
 Profile  
 
 Post subject: Re: SoundCloud player script
PostPosted: 2013-01-10, 11:39 am 
User avatar

Joined: 2010-09-27
Posts: 96
Location: Finlandia
Hell yes!

I actually looked into SC API, but could not figure out how to jump to time.

This one is awesome with the script: Radio Bosh 036 (2012-01-06) (Yearmix 2012)

I could add some CSS so that the current playing row has a different color and stuff.


Top
 Profile  
 
 Post subject: Re: SoundCloud player script
PostPosted: 2013-01-10, 11:51 am 
User avatar

Joined: 2010-09-27
Posts: 96
Location: Finlandia
It would be nice if instead of the "Now playing..." text after the track name, there would be a play icon (triangle pointing right) in a new column in front of the track index. Thought that would require changing the whole table...


Top
 Profile  
 
 Post subject: Re: SoundCloud player script
PostPosted: 2013-01-10, 12:08 pm 

Joined: 2010-11-23
Posts: 12
Sounds awesome! Any chance we can get a screenshot of this in action? I dont feel like insalling FF just to check it out :P


Top
 Profile  
 
 Post subject: Re: SoundCloud player script
PostPosted: 2013-01-10, 12:24 pm 
User avatar

Joined: 2010-09-27
Posts: 96
Location: Finlandia
phool Wrote:
Sounds awesome! Any chance we can get a screenshot of this in action? I dont feel like insalling FF just to check it out :P

Image


Top
 Profile  
 
 Post subject: Re: SoundCloud player script
PostPosted: 2013-01-10, 12:48 pm 
User avatar

Joined: 2010-09-27
Posts: 96
Location: Finlandia
Only jumping to time is broken in Chrome, it correctly shows the position though. Just install Tampermonkey.


Top
 Profile  
 
 Post subject: Re: SoundCloud player script
PostPosted: 2013-01-11, 7:29 am 
User avatar

Joined: 2010-09-27
Posts: 96
Location: Finlandia
Actually, why don't I just copy the script to the site directly, so it would be available for everyone? And I would be able to make visual improvements easier.


Top
 Profile  
 
 Post subject: Re: SoundCloud player script
PostPosted: 2013-01-11, 9:13 am 

Joined: 2010-11-15
Posts: 21
Location: Hungary
I'm happy that you like it. I use it now since quite a long time, almost since the new SoundCloud HTML5 widget API is available. I didn't have much time to care for it in the last weeks, and I only published it now.

About Chrome support:
I made some investigation and found that unfortunately there is a small bug in the SC API only related to Chrome. I will try to do some workaround; if it works, I'll integrate it to the script.

lindmik Wrote:
Actually, why don't I just copy the script to the site directly, so it would be available for everyone? And I would be able to make visual improvements easier.

Why not? You can use it, in that case somehow it should be disabled/enabled by user interaction - maybe somebody does not want to see it on those pages. And also I have still some modification ideas, 0.4.1 is really just an initial, but usable version. We should discuss this, I don't want to have two separate versions/branches.


Top
 Profile  
 
 Post subject: Re: SoundCloud player script
PostPosted: 2013-01-21, 8:55 am 

Joined: 2010-11-15
Posts: 21
Location: Hungary
Script is updated to version 0.6
- the player can be now visible or hidden - only showing the current track
- the 'now playing' cursor is enhanced
- added play/pause toggle to current track (some nice icon should be added here)
- script automatically updates on new version

About Chrome support:
It seems that the SC API iframe access is a bit broken via Tampermonkey (only seeking to time). But it should be okay when the script is used on the page directly.

Upcoming:
- volume control
- reorganize code to enhance usability for direct page use

Enjoy!


Top
 Profile  
 
 Post subject: Re: SoundCloud player script
PostPosted: 2013-05-29, 5:06 pm 

Joined: 2010-11-15
Posts: 21
Location: Hungary
New version 0.6.1 is now available.
Only a small enhancement: now if you find a private soundcloud track (with specified secret token) that is embeddable, the script can use it as well.
Live demo here (take a look on the soundcloud link - secret token at the end):
http://cuenation.com/?page=tracklist&fo ... 5.2013.cue


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 3   [ 24 posts ]
Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron