Access iTunes previewUrl from SSL

I am trying to play iTunes previews on my website which is serverd via https / SSL - partly because of this recommendation https://webmasters.googleblog.com/2014/08/https-as-ranking-signal.html by google.

As far as I can tell, iTunes previewUrl returned by their search API https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api/ only returns an http address (and a trivial simple fix converting urls to https does not work).

So, my site now generates a whole bunch of errors like this:

song: 1 Mixed content: a page with ' https://www.music4dance.net/song ' was downloaded via HTTPS but requested an unsafe video ' http://a1070.phobos.apple.com/us/r1000/093/Music /0c/66/66/mzm.gwwviicr.aac.p.m4a '. This content must also be served over HTTPS. song: 1 Mixed content:

Is there a way to get an HTTPS / SSL link for this or another way around this error?

I watched this post: Unsafe "video" over HTTPS and read this post https://blogs.msdn.microsoft.com/ieinternals/2009/06/22/handling-mixed-httpshttps-content/ , which gives some insight into why this error occurs, but none of them leads to a solution for my case.

+7
itunes-store
source share

No one has answered this question yet.

See similar questions:

or similar:

2
elem.setAttribute in jQuery violating SSL (mixed active content error)
0
Mixed content error in ejabberd / xmpp chat server
0
Download vendor chips via ssl using flyer in R
-one
Why does an SSL link get a mixed content error?

All Articles