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

Regarding android player skin


I am following this tutorial to implement skin:
https://developer.jwplayer.com/sdk/android/docs/developer-guide/customization/css-skins/

1. Where can I find roundster.css?
It says "You can find them in the Content section of your Dashboard, under License Keys and Downloads located on the left side of the Content screen."
But I cannot find it anyway

2. Where should I put *.css in my android studio project, or do I host it somewhere?
skinUrl("http://mysite.com/skins/ellipse.css") what should "mysite" be? I am streaming live HLS video, I dont have any video hosted on dashboard.
I tried to find some sample skin code but smaple code on github dont have.

3 Community Answers

George

JW Player Support Agent  
0 rated :

Hi,

The new location of the skins is Players > Tools > JW7 Selfhosted
https://ssl.p.jwpcdn.com/player/download/jwplayer-7.6.1.zip

You can point to your assets folder in Android Studio too and use JWPlayerView.setSkin() or PlayerConfig.setSkinUrl():

PlayerConfig playerConfig = new PlayerConfig.Builder()
.autostart(true)
.playlist(playlist)
.skinUrl(“file:///android/assets/five_no_fullscreen.css”)
.skinName(“fiver”)
.controls(false)
.build();

weijia

User  
0 rated :

Hi George,
I tried this but it does not work, are you sure then skinurl is correct?
I created an assets folder(right click app->folder->assets folder), and put vapor.css in it.
and called
PlayerConfig playerConfig = new PlayerConfig.Builder()
.file(playUrl)
.skinUrl("file:///android/assets/vapor.css")
.skinName("vapor")
.autostart(true)
.build();
But nothing changed

George

JW Player Support Agent  
0 rated :

Do you have a demo Android Studio project you can send over for me to debug? Please do not add your license key, I’ll add my own once I have the project.

Also, please tell be the desired effect. If you just want one of the default skins you can use this method:
https://developer.jwplayer.com/sdk/android/reference/com/longtailvideo/jwplayer/JWPlayerView.html#setSkin(com.longtailvideo.jwplayer.configuration.Skin)
https://developer.jwplayer.com/sdk/android/reference/com/longtailvideo/jwplayer/configuration/Skin.html

This question has received the maximum number of answers.