用高分辨率高清视频替换低分辨率视频 [英] Replace low res video with High res HD video

查看:238
本文介绍了用高分辨率高清视频替换低分辨率视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个包含完整浏览器视频的网站(请参阅 http://bitstream.ca/ )。
为了获得最佳体验,我首先要使用低质量的视频文件,然后在后台下载高分辨率视频。当高分辨率完全下载后,我想换掉低分辨率。非常确定这可以使用javascript和视频对象的一些监听器,但我不确定如何继续。
有人可以帮忙吗?

I'm creating a site with full browser video (see http://bitstream.ca/). For an optimum experience I'd like to use a low quality video file first and download a high res video in the background. When the high res has fully downloaded I want to swap out the low res. Pretty sure this is possible using javascript along with some listeners of the video object, but am unsure how to proceed. Can anyone help?

推荐答案

我建议使用JavaScript来检测用户带宽然后用结果决定是否应该下载高分辨率或低分辨率版本。

I would suggest using JavaScript to detect the users bandwidth and then with the result decide if the hi-res or low-res version should be downloaded.

帖子应该提供一个很好的起点。

This post should provide a good starting point.

这篇关于用高分辨率高清视频替换低分辨率视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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