"Mixed Content" error on JS Api

15 views
Skip to first unread message

Adriano Brandão

unread,
Oct 12, 2015, 10:19:39 PM10/12/15
to Rdio API
Hi all,

I'm the maintainer of a node-webkit application that uses the new Rdio JS API. It's been working nicely for more than an year, but the player stopped working a month ago.

Every single try I make fails, returning the following message:

Mixed Content: The page at 'https://www.rdio.com/api/iframe/?client_id=123456&xdm_e=http://abc.com' was loaded over HTTPS, but requested an insecure video 'http://m.cdn2.rd.io/s/music/1/3/4/8/1348f1ba92ed45d88df71ec6732729da/full-a…6.mp4?80e2d2f4276a71565175a0c05c3f54afe89e4a8a0723795d026373c140c17fb6df09'. This content should also be served over HTTPS.

Is there a way to load the API iframe over HTTP instead of HTTPS? Any thoughts?

Thanks!

Ian Gilman

unread,
Oct 21, 2015, 12:17:35 PM10/21/15
to rdio...@googlegroups.com
Adriano, 

Interesting that it’s not working for you. I see that mixed content warning as well, but the audio still plays. I’m testing in Mac Chrome Version 46.0.2490.71 (64-bit) on: 


Is it broken for you there as well? 

-- Ian Gilman
-- digital renaissance man



--
You received this message because you are subscribed to the Google Groups "Rdio API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdio-api+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rdio-api/dc913d98-6de4-4724-9165-33a89c48f766%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

adria...@gmail.com

unread,
Oct 22, 2015, 11:19:17 AM10/22/15
to rdio...@googlegroups.com
Hi Ian,

I eventually figured out what was happening. Rdio's API works seamlessly with HTML5 and Flash audio sources. Flash was prominent ever since, but two months ago Rdio switched its primary audio source to HTML5, streaming MP4 files directly to the browser. And the node-webkit default build I was working on doesn't have native support for MP4. I just replaced the default ffmpegsumo.so with a MP4-enabled compile and - voilà - worked like a charm :)

Best,
Adriano.

You received this message because you are subscribed to a topic in the Google Groups "Rdio API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rdio-api/ug2klQCe9fQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rdio-api+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rdio-api/730A31EF-B790-47D0-9F6D-849157BEBEA8%40iangilman.com.

adria...@gmail.com

unread,
Oct 22, 2015, 11:32:05 AM10/22/15
to rdio...@googlegroups.com
BTW, Rdio's HTML5 audio player is much better than the Flash implementation, especially on Mac. The older Flash player often made my MacBook overheat!

Ian Gilman

unread,
Oct 22, 2015, 12:14:30 PM10/22/15
to rdio...@googlegroups.com
Interesting…glad you got it sorted out. :) 


-- Ian Gilman
-- digital renaissance man



Reply all
Reply to author
Forward
0 new messages