比如这段视频下方的 分享给好友
列表中,全是http
开头的链接:
http://v.youku.com/v_show/id_XODI1MzM5MzAw_ev_1.html?from=y1.3-idx-grid-1519-9909.86808-86807.1-1
如:
<embed src="http://player.youku.com/player.php/sid/XODI1MzM5MzAw/v.swf" allowFullScreen="true" quality="high" width="480" height="400" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
<iframe height=498 width=510 src="http://player.youku.com/embed/XODI1MzM5MzAw" frameborder=0 allowfullscreen></iframe>
把这种形式直接放到自己网站中,要是 https
开头,就无法识别,页面空白。
把 http://player.youku.com/
前边的 http:
去掉,默认找网站协议的方式,会自动找 https://player.youku.com/
, 而这样是禁止访问的(优酷网的问题)。
这种情况,只能在 http
开头的网站放优酷视频吗?有方法在 https
下吗?
两个是用的不同的协议,HTTPS协议是由SSL+HTTP协议构建的可进行加密传输、身份认证的网络协议 ,http是超文本传输协议,信息是明文传输
https要比http协议安全
优酷是只能在http://打开,但是你要在其他https开头的网站放优酷视频是没问难题的。就是一个连接。