问题
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