html5 fullscreenchange,html - HTML5 video player change quality on fullscreen - Stack Overflow

博主寻求在全屏模式下视频质量能自动适配屏幕大小的功能,目前了解到Video.js有质量切换但不支持自动切换,而JW Player似乎也不支持。尽管YouTube已实现此功能多年,但博主想知道是否有简单的方法为现有播放器解决方案添加此特性,或者推荐支持自动切换分辨率的HTML5视频播放器。
摘要由CSDN通过智能技术生成

I need a very easy feature, and I thought every player have this. I need to switch quality of a video, when user clicks 'fullscreen'. And quality must fit screen size.

I have videos for 1080p, 720p, 480p, 360p, 240p. The default is 240p, the player window is small. I want when user go fullscreen, right resolution to be picked (like 1080p for 1920x1080 or 720p for lesser)

I read many information about available html5 players, and it seems that videojs and jwplayer are good. Videojs have a quality switcher feature, but not auto-switching on fullscreen. Jwplayer seems also don't support this.

Youtube support this many years. Is there any easy way to add such feature for existing player solution? (you can offer another html5 video player)

Thanks

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值