I am facing a secure connection conflict as some of my videos are hosted on Kaltura (http) while the site is hosted on Heroku (HTTPS). Can you guys/girls advise on how to resolve this conflict?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can make a proxy in your Heroku backend. The steps would be:
- The video request is sent through HTTPS protocol to the proxy.
- The proxy receive the request, parse it, and fetch corresponding video through HTTP from Kaltura.
- The proxy return video data to browser.