Android - JWplayer Fullscreen not working issue

為{幸葍}努か 提交于 2021-01-28 02:50:47

问题


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

I've also realise that the the method:

JWPlayerView.setFullscreen(true, true) 

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

I'm on JWPlayer version 3.4.0.

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.

Edit:

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


回答1:


Upgrade to 3.4.1. This issue is fixed now.



来源:https://stackoverflow.com/questions/54032362/android-jwplayer-fullscreen-not-working-issue

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!