My team and I are looking to use the embedded SoundCloud widget for a site we're building. We'd like to use the API to track the total number of plays by tracking the playback_count property for each track, however I've not been able to find specific information on how/when this is incremented. I'm looking to answer:
Does is only track completed plays? Or started plays?
Does it track multiple plays by the same user/client?
Does it track plays made by the streaming URL (in a custom player) or only the embedded player/SoundCloud website?
It appears that the playback_count is not updated immediately, is the playback_count updated (nightly/hourly etc.)?
Is there a list of supported browsers/devices for the
embed?
SoundCloud increments the count as soon as the play button is clicked (reference).
Plays are tracked by any user which is not the track owner (see above reference).
Tracks are only counted by the web player, mobile app, mobile website, and official embeds. Requests to any of the /streams endpoint values (ex: http_mp3_128_url), do not count towards the play count.
playback_count values may be invalid due to caching (reference).
The embed widget is supported by most browsers which support HTML5 media playback. See these blogs posts as well as SoundCloud's own HTML5 audio benchmark project here.
Related
I have a podcast which I am accessing by RSS to embed it in our web site. But I need to display the play count of all episodes. I can find the play count in the admin panel, but not in the RSS.
On the other hand, in the API documentation, there's a play_count field for a track. I guess if I loop through all tracks and fetch play_count, then I will receive the overall play count, right?
If that's true, I would like to ask the team to let me create an application, because it seems that's the only way to receive a secret and access the API.
Thank you
I want to make a website with my own audio player (with waveform.js but own styled), but at the same time take my audio tracks from soundcloud or mixcloud, is this possible?
I have read the documentation for soundcloud api and realized that yes, but to be sure I need to check in practice.
Therefore, I decided to ask you first, is it possible to take from soundcloud or mixcloud mp3, artist name, trackname and count of likes (count both from my site and sc/mc)? If not, what parts of native sc/mc player I have to use at least?
Thanks.
yes this is possible using the soundcloud api.
<audio src="http://api.soundcloud.com/tracks/TRACKID/stream?client_id=CLIENTID" controls="true" preload="auto"></audio>
replacing TRACKID and CLIENTID with their respected values.
The API method https://api.soundcloud.com/tracks.json?oder=hotness&q= used to return great hot tracks with many plays on soundCloud. It now returns a bunch of random tracks with 0 plays. Has anyone else noticed it? Is there another way to get a bunch of hot tracks available on SoundCloud via the API?
They removed hotness params.
Check here http://developers.soundcloud.com/blog/removing-hotness-param
This is probably not possible, but I'm throwing it out here for anyone with crazy awesome ideas or if they happened to come across some morsel of information about it.
I have an embedded YouTube player (iFrame) using the API, with a custom JS control bar. All that works great.
I want to have a share option, however, since the videos on my site will often appear as overlays, it's not ideal to have the page be shared, but rather the video itself. Is there a way to have a user share the YouTube link directly from my page, rather than just a link to my site?
I already realize the fallback is to create a URL on my site that takes a video id parameter and redirects to the proper youtube page.
Doesn't the embed video from YouTube include all YouTube features by default?
(Thumbs up, share, full screen, etc…)
I want to be able to serve an iframe video player to the Facebook newsfeed & timeline.
I am aware that it is possible to specify multiple og:video:type properties for different video formats to appear within the newsfeed/timeline.
e.g. an implementation such as
Share HTML5 player on Facebook wall
As of April last year I believe we also wouldn't need whitelisting, though some kind of whitelisting may be possible for a video type of text/html which isn't generally available.
If we were just serving free video within an iframe it would be quite easy to just grab the flash and mp4 components and include them within Open Graph tags.
However our player is a little more complex, serving content based upon login status, and that level of complexity is likely to increase.
Complexity?
Built in shopping cart - Reviews - Delivery of premium content - micropayments/tipjar
We have quite a flexible oembed implementation
http://www.uqast.com/andy/video-seo?w=640&h=360&aplay=0&affid=0&links=2
Which can return quite clean embed code suitable for the timeline
http://www.uqast.com/services/oembed/?url=http%3A//www.uqast.com/andy/video-seo&w=640&h=360&aplay=0&affid=0&links=2&format=json
We can also quite happily serve the iframe from https if required.
We are also looking towards serving various kinds of HTML5 within the iframe... videos/docs/audio etc
So what procedure do you have to follow to be able to use text/html as a video type and have it whitelisted?
Note: I am the Product Manager for uqast.com
I realise this is an old question, but I noticed today (June 2014) that SoundCloud are now embedding an IFRAME HTML based player directly into the news feed.
Anyone else noticed this behaviour and how can they do it? Couldn't see anything in the OG tags about it
Thanks!
Its not currently possible to embed HTML5 content via an iframe in the Facebook News Feed. Only Flash objects or raw video files can be embedded through the og:video tag.
However, keep an eye on http://developers.facebook.com/blog for updates.