为什么在本地主机上从YouTube嵌入视频可以正常工作,但当视频在C盘时却不能正常工作?
这是我嵌入视频的代码片段。
eg: http://localhost/test/test.html (embedded video works )
file:///C:/Users/AUser%20name/Desktop/test/test.html (embedded video does not work)
这是我嵌入视频的代码片段。
<object width="560" height="315"><param name="movie" value="//www.youtube.com/v/0l-
7IGRsORI?hl=en_US&version=3"></param><param name="allowFullScreen" value="true">
</param><param name="allowscriptaccess" value="always"></param><embed
src="//www.youtube.com/v/0l-7IGRsORI?hl=en_US&version=3" type="application/x-
shockwave-flash" width="560" height="315" allowscriptaccess="always"
allowfullscreen="true"></embed></object>