Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with mixed security on Chrome #5

Closed
machunter opened this issue Jan 23, 2014 · 4 comments
Closed

Problem with mixed security on Chrome #5

machunter opened this issue Jan 23, 2014 · 4 comments

Comments

@machunter
Copy link

Chrome by default (recently?) seems to block mixed secure content.

I am have started getting the following error:

[blocked] The page at 'https://xxxxx/yyy' was loaded over HTTPS, but ran insecure content from 'http://www.dailymotion.com/embed/video/x10t7bf?api=postMessage&id=dmwidget': this content should also be loaded over HTTPS.

is there an option to force loading from https instead of http?

(note the SDK is loaded of https)

@dharFr dharFr closed this as completed in 40868f4 Jan 24, 2014
@dharFr
Copy link
Contributor

dharFr commented Jan 24, 2014

Hi @machunter,

Your point is totally valid. I updated the SDK to use protocol relative URLs.
You should be able to use it over https without changing anything on your side.

@leonardop21
Copy link

Hello,

I'm facing the same problem. My entire connection is https, when I try to upload a video, the browser tells me that I can not make a mixed connection with the http://upload.daylimotion endpoint ....

@dharFr
Copy link
Contributor

dharFr commented Oct 1, 2018

Hello @leonardop21,
This issue was about the video player and has been fixed 4 years ago, it's unlikely to be the exact same problem.

That being said, if you're getting an http upload URL, I guess you need to add the ssl_assets parameter while querying the file/upload endpoint (see https://developer.dailymotion.com/api#global-parameters for details). This will give you an https://upload.dailymotion.com/... URL.

Hope that helps,

@leonardop21
Copy link

Solved. Thanks @dharFr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants