flv视频通常上传到我们的Google云端硬盘,也可以创建到iframe。
喜欢
<iframe height="272" style="margin-top:-270px; position:absolute" src="https://drive.google.com/file/d/0BwgCehvr2FnlU3cwTTVzUXN5SXM/preview" width="440"></iframe>
它中的某些浏览器显示为"哎呀!播放此视频时出现问题。下载" 但是,如果我们单击右上角的"弹出"按钮,视频将在单独的选项卡上打开并播放。
XMLHttpRequest 无法加载 https://docs.google.com/get_video_info?docid=0BwFh_4qf05UOYnkxLW9Mb3dJRFU&authuser=0。 重定向自 "https://docs.google.com/get_video_info?docid=0BwFh_4qf05UOYnkxLW9Mb3dJRFU&authuser=0" 自 "https://accounts.google.com/ServiceLogin?service=writely&passive=1209600&co...tps://drive.google.com/file/d/0BwFh_4qf05UOYnkxL<mpl=homepage&authuser=0' 已被 CORS 策略阻止:无"访问控制允许源" 标头存在于请求的资源上。起源 因此不允许访问"https://drive.google.com"。
如何解决这个问题?
目前谷歌云端硬盘似乎有问题:
https://productforums.google.com/forum/#!topic/drive/uACJyxwGbU0