Playing audio posts without using embed

292 views
Skip to first unread message

HT154

unread,
Aug 3, 2012, 2:55:45 AM8/3/12
to tumbl...@googlegroups.com
Is there a way to stream audio directly from the url provided in the "audio_url" attribute? Whenever I try, I get errors, and visiting the URL in a browser yields "request denied" page. I want to avoid having to use a WebView to embed the flash audio player if at all possible.

Any ideas?

Larcus94

unread,
Aug 3, 2012, 5:59:32 AM8/3/12
to tumbl...@googlegroups.com
What platform are you working on? 
I've figured out a way to access all URLs except of the spotify URLs. However, I'm pretty sure that Tumblr would have given us the URLs if they wanted us to use them. So they actually don't want you to use this so you should open a thread that asks them to change this. 
Here's the pattern to get a working URL:
Take this URL: "http://a.tumblr.com/%@o1.mp3" and replace %@ with the last path component of the audio URL given by the Tumblr API. 

Example:

HT154

unread,
Aug 3, 2012, 6:21:05 AM8/3/12
to tumbl...@googlegroups.com
I'm working on OS X. This works great.

Thanks a ton for the help. I'll open a thread requesting a few things I've noticed over the past few days.

Larcus94

unread,
Aug 3, 2012, 6:30:32 AM8/3/12
to tumbl...@googlegroups.com
Are you developing a mac app for tumblr?

HT154

unread,
Aug 3, 2012, 6:33:31 AM8/3/12
to tumbl...@googlegroups.com
Well, attempting to. I'm relatively inexperienced with Objective-C, and wrapping my brain around AppKit is proving challenging. It's more for practice and experience, but if it turns out well, who knows?

p3lim

unread,
Dec 4, 2012, 12:39:18 AM12/4/12
to tumbl...@googlegroups.com
This doesn't seem to work well with the soundcloud audio files.
Reply all
Reply to author
Forward
0 new messages