Closed leonardop21 closed 6 years ago
Hello @leonardop21 could you provide sample code to repro your issue?
Follow the upload code Jakub-g
In http connection it works normally.
I could not enter the code correctly here, so I put it in the pastebin
As @dharFr replied : use ssl_assets
in url /file/upload
DM.api('/file/upload?ssl_assets',
...
cf. https://github.com/dailymotion/dailymotion-sdk-js/issues/5#issuecomment-425888913
Regards,
It worked, thanks for the help @SuperToma
Could you add that to the documentation please!
I have sent the task in the todo list. Regards.
I'm trying to upload videos through my site configured with https and using sdk in javascript, however, I get an error stating that the endpoint is not secure.
was loaded by HTTPS, but requested an unsafe XMLHttpRequest endpoint
I did the test on an unsecured connection (http) and the upload occurred without any problems, however, the production site, all the traffic is encrypted, and the dailymotion endpoint is http. How could you solve this problem?