Android-JWplayer全屏无法正常工作的问题 [英] Android - JWplayer Fullscreen not working issue

查看:120
本文介绍了Android-JWplayer全屏无法正常工作的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚为Android实现了JWPlayer,并意识到播放器上的全屏按钮无法正常工作.

I've just implemented JWPlayer for Android and realise that the fullscreen button on the player is not working.

我也意识到该方法:

JWPlayerView.setFullscreen(true, true) 

不起作用(视频无法全屏显示,只能停留在纵向视频中.)

Does not work (the video doesn't go fullscreen, just stay in portrait video).

我正在使用JWPlayer版本3.4.0.

I'm on JWPlayer version 3.4.0.

当按下全屏按钮请求全屏时,JWPlayer也会引发错误:

Also there is an error thrown by JWPlayer when requesting fullscreen when fullscreen button is pressed:

I/chromium: [INFO:CONSOLE(10)] "Uncaught (in promise) TypeError: 
fullscreen error", source: 
http://intercept.jw//data/user/0/com.knx.thestarmobile/files/jwplayer/jw_co
re/jwplayer.core.controls.js (10)

想知道是否有人也面临这个问题,是否有解决方案.

Wondering if anyone is facing this issue as well and if there are any solutions to this.

我也使用JWPlayer提供的示例应用程序尝试了此操作,并且发生了相同的问题.

I've also tried this with the samples app provided by JWPlayer and the same issue happens.

推荐答案

升级到3.4.1.现在已解决此问题.

Upgrade to 3.4.1. This issue is fixed now.

这篇关于Android-JWplayer全屏无法正常工作的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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