Closed aleluiah closed 4 years ago
@aleluiah in response of createThumbnail
you will get the path to generated image(jpeg/png) file. Use this path to show the thumbnails like any other image.
thanks sir, iappreciate
On Fri, Jul 31, 2020 at 8:13 PM Souvik Ghosh notifications@github.com wrote:
@aleluiah https://github.com/aleluiah in response of createThumbnail you will get the path to generated image(jpeg/png) file. Use this path to show the thumbnails like any other image.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/souvik-ghosh/react-native-create-thumbnail/issues/21#issuecomment-667307024, or unsubscribe https://github.com/notifications/unsubscribe-auth/APWYXY3XWBFF6GU4ZJHVX4LR6MJVJANCNFSM4OOCKPBA .
i want to access thumb nail from local device file using react-native-video-player. below is my code
<VideoPlayer resizeMode='stretch' thumbnail={{uri: 'file:///data/user/0/com/myfirstproject/cache/thumbnails/thumb-6d12fb87-4200-4a52-85ab-d9a0efa3720f.jpeg'}} repeat={false} playWhenInactive={false} video={{uri: urii}} style={{ maxWidth: '100%', height: 250, padding: 0, margin: 0 }} mediaPlaybackRequiresUserAction = {true} />