• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

apivideo/blobUpload: Uses file slice to upload large files. Newer version https: ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

apivideo/blobUpload

开源软件地址:

https://github.com/apivideo/blobUpload

开源编程语言:

HTML 91.9%

开源软件介绍:

badge

badge

badge

api.video upload a videoE

api.video is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.

Creating a video uploader with JavaScript and api.video

Videos are very large files, and all servers have a limit on filesize upload. The last thing you want your users to see (after waiting for the file to upload) is a "413: request too large" error.

The fix is to use the HTML 5 File API to slice the video into smaller bits, and to upload each smaller chunk.

In this demo, videos are split into 1 MB chunks, but larger sizes are ok (at APi.video, we suggest staying under 100MB per chunk).

Getting started

All HTML5 and vanilla JS.

All you need is a delegated upload token from api.video. Replace the token parameter in the variable url, nad your own version will be running in no time.

delegated upload docs

Test it out!

upload.a.video




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap