七牛存储使用笔记

自定资源下载名称:

http://<domain>/<key>?attname=<file_name>

这样你的key和最终保存文件时的文件名可以是不一样的,比如key使用hash的方式,而浏览器另存文件时,则使用该文件的原名。需要注意的是:对于中文文件名,为了更好的支持中文,将attname=后面的中文文件名部分URLEncoder

如何方便引用视频的某帧图片作为视频的poster?

http://xx.yy/you-video-key-fx

使用videojs firefox中可能出现以下hls的错误

Specified "type" attribute of "application/x-mpegURL" is not supported. Load of media resource http://s3.amazonaws.com/my_bucket/my_playlist.m3u8 failed.
All candidate resources failed to load. Media load paused.
"VIDEOJS:" "ERROR:" "(CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED)" "No compatible source was found for this video." {code: 4, message: "No compatible source was found for this video."}
All candidate resources failed to load. Media load paused.

videojs hls播放测试url 

https://videojs.github.io/videojs-contrib-hls/

原文地址:https://www.cnblogs.com/kidsitcn/p/8854650.html