react-native-jw-media-player
react-native-jw-media-player copied to clipboard
jw player playlist props image item not working (thumbnail)
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
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.