http://kevingleason.me/AndroidRTC/ not works
felizarazol opened this issue · 3 comments
felizarazol commented
When running the code on this page, the following error message:
pubnub.min.js:60 Mixed Content: The page at 'https://kevingleason.me/AndroidRTC/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://ps2.pubnub.com/time/0?uuid=ExteBAn123&pnsdk=PubNub-JS-Web%2F3.6.7'. This request has been blocked; the content must be served over HTTPS.
moqri commented
same here
manikavi commented
for me also,same problem,
lucaurso commented
A quick fix is to host it somewhere and modify pubnub-dev.js line 967 to this:
var ORIGIN = 'https://' + (setup['origin'] || 'pubsub.pubnub.com');
This makes sure that it uses https instead of http.