使用HTML 5视频标签从Google云端硬盘中流式传输视频 [英] Stream video from Google Drive in HTML 5 video tag

查看:152
本文介绍了使用HTML 5视频标签从Google云端硬盘中流式传输视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经做了什么。


$ b如何从Google驱动器传输更大(200MB)的视频文件? $ b

  • 使用24MB文件进行测试,效果显着。

  • 文件为网上所有人共享



     < source src =https://drive.google.com/uc ?export = download& id = 0B0gf7RQXoPVEa0xCSEhiRG5GNHMtype =video / mp4> 

    糟糕。不支持HTML 5视频。




当我在浏览器中正常调用这个URL时,会显示一个安全请求,我必须接受它。



我认为这就是问题所在,块。



可以发送多于唯一的导出和id查询参数吗?

解决方案

我不认为你可以直接,但有服务,如 www-drv.com

a>,它充当代理并让您公开Goog​​le Drive或OneDrive内容。

我有些担心他们的服务,因为常见问题解答有点不清楚他们需要多少访问GDrive / OneDrive,如果你不得不让他们从根目录访问(这对我来说是不可行的),或者你可以选择一个目录(和子目录)。我过去发邮件要求澄清,但没有回应......只是想包括这种谨慎。


How is it possible to stream a larger (200MB) video file from google drive?

What I have done.

  • Tested with a 24MB File and it works.
  • File is shared public for everyone on the web

    <source src="https://drive.google.com/uc?export=download&id=0B0gf7RQXoPVEa0xCSEhiRG5GNHM" type="video/mp4">
    
    Oops. HTML 5 video not supported.
    

When I call this url normally in the browser a security request is shown which I have to accept.

I think thats exactly the problem, where it blocks.

May it is possible to send more than only export and id query parameters?

解决方案

I don't think you can directly, but there are services like www-drv.com which act as a proxy and let you expose Google Drive, or OneDrive, content.

I have some concern re their service as the FAQ is a little unclear how much access to the GDrive/OneDrive they require, it's not obvious if you have to let them access from the root down (which would be a no-go for me) or if you can select a single directory (and sub-directories). I'd emailed them in the past asking for clarification but no response ... just wanted to include that caution.

这篇关于使用HTML 5视频标签从Google云端硬盘中流式传输视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆