Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Android player skin customization


Now when I play HLS link, it always shows "Live Streaming", how to remove this words?
Is there a way to customize skin?
Also,
When I switch to full screen, the rightmost screen shows white strip. same size as navigation bar, any idea how to fix it?

5 Community Answers

George

JW Player Support Agent  
1 rated :

Regarding the skinning:
https://developer.jwplayer.com/sdk/android/docs/developer-guide/customization/css-skins/
And you’d have to add this to your custom skin:
.jw-text-alt{
display: none !important;
}

As far as the fullscreen strip issue is concerned, that can be an issue on some devices that have a different measurement system that doesn’t include the soft keys. I solved it by building a class that uses our FullscreenHandler
https://developer.jwplayer.com/sdk/android/reference/com/longtailvideo/jwplayer/fullscreen/FullscreenHandler.html
and set the layout params to this:
//fullscreenHeight is basically the device width
setLayoutParams(new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, fullscreenHeight));

weijia

User  
0 rated :

Thanks George,
set layout params does not work for me, I suspect it is because when going full screen the navigation bar is hidden, is it a way to always show navigation bar, or is there any other solution? Thank you

George

JW Player Support Agent  
0 rated :

It would be best if I could see your project. Please send me a link to your Android Studio project and make sure you remove your license key.

weijia

User  
0 rated :

Thanks George, I fixed my problem by removing " android:fitsSystemWindows="true"
But I used jw player view in a fragment, so I am not sure if " android:fitsSystemWindows="true" cause the bug.

https://github.com/jwplayer/jwplayer-sdk-android-demo/blob/master/app/src/main/res/layout/activity_jwplayerview.xml

George

JW Player Support Agent  
0 rated :

Sounds like a viable solution. Is there anything else I should check on this project?

This question has received the maximum number of answers.