【问题标题】:Broken SSL on dailymotion oembeddailymotion oembed 上的 SSL 损坏
【发布时间】:2014-07-24 06:28:45
【问题描述】:

我目前正在实施dailymotion,但我注意到dailymotion 可能存在错误。当您拥有安全连接时,现代浏览器强制要求所有 iframe src 也应该是 SSL。否则 iframe 将无法加载。

当您发送 URL 时,将以下 url 发送到 https://www.dailymotion.com/services/oembed?url=https://www.dailymotion.com/video/x16h0i1_aveugle-de-11-ans-chante-wrecking-ball-miley-cyrus_news

您收到回信:

{
    "type":"video",
    "version":"1.0",
    "provider_name":"Dailymotion",
    "provider_url":"http:\/\/www.dailymotion.com",
    "title":"Aveugle de 11 ans chante Wrecking Ball - Miley Cyrus",
    "author_name":"Spi0n",
    "author_url":"http:\/\/www.dailymotion.com\/Spi0n",
    "width":480,
    "height":326,
    "html":"<iframe src=\"http:\/\/www.dailymotion.com\/embed\/video\/x16h0i1\" width=\"480\" height=\"326\" frameborder=\"0\"><\/iframe>",
    "thumbnail_url":"https:\/\/s2-ssl.dmcdn.net\/Cu30E\/x240-c-G.jpg",
    "thumbnail_width":353,
    "thumbnail_height":240
}

SSL 已损坏。有办法解决吗?

谢谢 奥利维尔

【问题讨论】:

  • “ssl 已损坏”是什么意思?你的问题是你得到 "html":"" 而不是正确的 iframe 数据,还是你得到 http 而不是 https ?
  • 正在修复中,请稍等!

标签: ssl oembed dailymotion-api


【解决方案1】:

我们刚刚推送了一个修复程序,它现在应该在 HTTPS 端点上完全服务于 HTTPS URL。感谢您报告此问题。

【讨论】:

    猜你喜欢
    • 2014-03-04
    • 1970-01-01
    • 2016-07-24
    • 2017-03-27
    • 1970-01-01
    • 2015-03-14
    • 1970-01-01
    • 2013-02-18
    • 1970-01-01
    相关资源
    最近更新 更多