我目前正在实施dailymotion,但我注意到dailymotion 可能存在错误。当您拥有安全连接时,现代浏览器强制要求所有 iframe src 也应该是 SSL。否则 iframe 将不会加载。
您收到:
{
"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 坏了。有没有办法解决它?
谢谢奥利维尔