首页> 中文期刊> 《现代电子技术》 >视频自适应技术在网页设计中的实现

视频自适应技术在网页设计中的实现

         

摘要

针对电脑版网页中视频元素直接显示在移动设备上时视频比例无法自动伸缩、远程视频无法播放等缺点,提出基于自适应网页设计技术的视频自适应方法。依据本地视频和远程视频的各自特点,设计不同的自适应方案:本地视频的自适应分别采用媒体查询技术和流动布局技术实现;远程视频的自适应则分别采用FitVids插件和流动布局技术实现。分别对页面布局效果和页面加载时间进行了测试:通过在Chrome浏览器下使用扩展程序Window Resizer对页面布局效果进行测试,结果表明,相比非自适应网页,自适应网页在不同分辨率下页面内容显示更合理;采用WebPagetest对页面加载时间进行了测试,结果表明,与非自适应网页相比,自适应网页的页面加载时间更短,页面响应速度更快。%In order to overcome the disadvantages that the video proportion can not be stretched automatically and the re⁃mote video can not be played back,the video adaptive method based on adaptive web design technology is proposed. According to the characteristics of local video and remote video poor,the corresponding adaptive schemes were designed. The medium que⁃ry and flow layout technology are adopted for the self⁃adaption of the local video,and FitVids plug⁃ins and flow layout technolo⁃gy are used for that of the remote video. The page layout effect and page loading time were tested respectively:The page layout effect tested by Window Resizer in Chrome browser shows that the content of adaptive webpage is more reasonable than that of the non⁃adaptive webpage at different resolution.The test results of the page loading time tested by WebPagetest show that,com⁃pared to non⁃responsive web,the loading time of the adaptive webpage is shorter and its response time is faster.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号