react-native-jw-media-player icon indicating copy to clipboard operation
react-native-jw-media-player copied to clipboard

jw player playlist props image item not working (thumbnail)

Open PratikKatkar opened this issue 1 year ago • 1 comments

 license: Platform.select({
              ios: 'xxxxxxxxxxxxx',
              android:
                'xxxxxxxxxx',
            }),
            setPlaylistIndex: {index: index},
            backgroundAudioEnabled: false,
            autostart: true,
            playlist: [
              {
                file: post_video,
                image: thumbnail_photo,
              },
            ],

            repeat: true,
            controls: false,
          }}    
          
           I have provided this code, in this code playlist image item is not being displayed. i want to display the thumbnail for the next playing video i attaching video please refer that 

https://github.com/chaimPaneth/react-native-jw-media-player/assets/95684097/60b41f02-443f-4d88-8adf-ffa9cdf03732

PratikKatkar avatar Jan 17 '24 06:01 PratikKatkar

Hi @PratikKatkar

I've found that some version of the JW SDK have issues with loading the image in android. Try downgrading the JW SDK version (you can set the jwPlayerVersion in android/build.gradle ext {}) to 4.12.0 or other versions and check which one works for you as I don't remember now exactly what version worked for us.

chaimPaneth avatar Feb 08 '24 07:02 chaimPaneth