Have you tried //api.map.baidu.com... instead of http://api.map.baidu.com ?

On Wednesday, June 24, 2015 at 7:27:47 PM UTC-5, Jake K. wrote:
>
> Hello,
>
>
> I am trying to load Baidu map in my website which has HTTPS protocol. 
> However I get the following error:
>
>
> Mixed Content: The page at *'https://my-website.com 
> <https://my-website.com>'* was loaded over HTTPS, but requested an 
> insecure 
> script*'http://api.map.baidu.com/api?v=2.0&ak=shT00fgF7SPmpGg75s8gWv90&callback=initialize&_=1435191036739
>  
> <http://api.map.baidu.com/api?v=2.0&ak=shT00fgF7SPmpGg75s8gWv90&callback=initialize&_=1435191036739>'*.
>  
> This request has been blocked; the content must be served over HTTPS
>
>
> I tried to load Baidu with HTTPS protocol but it doesn't work.
>
>
> How can I load Baidu inside a HTTPS website?, or more generally, how can I 
> load a script with HTTP inside a HTTPS website?
>
>
> Thank you
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to