Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

How to show Thumbnail Local video? #8

Open
Donhv opened this issue Jan 5, 2018 · 8 comments
Open

How to show Thumbnail Local video? #8

Donhv opened this issue Jan 5, 2018 · 8 comments

Comments

@Donhv
Copy link

Donhv commented Jan 5, 2018

I want show Thumbnail for Local video
Example : requeri('./video/video.mp4')
Help me!

@lucasbento
Copy link
Owner

@Donhv: sorry, didn't see this issue before, there's currently no way of doing that, it supports only youtube video, would appreciate a PR though.

@azanli
Copy link

azanli commented Apr 28, 2018

@Donhv You can use react-native-video, just render the <Video source={{ uri: '/local/file.mp4' }} pause={true} /> paused.

@nicoara
Copy link

nicoara commented Nov 12, 2018

@friendly-robot you cannot save a thumbnail from react-native-video (which is the whole point of the question).

@LuongTruong
Copy link

@nicoara I agree, showing thumbnail and showing a paused video have a lot of difference. I am struggling with this because I cannot show thumbnail of MOV video in iOS

@nicoara
Copy link

nicoara commented Feb 18, 2019

I have found the code in the library react-native-thumbnail works.

@LuongTruong
Copy link

Hi @nicoara , I just realize that MOV movie thumbnail cannot be shown is not because of Image tag. It is because the return path of react-native-image-picker cannot be read by Image tag.

@lyxia
Copy link

lyxia commented Feb 28, 2019

Hi @truongluong1314520, Is there any solution now? In addition to pausing the video.I also use react-native-image-picker.

@lyxia
Copy link

lyxia commented Feb 28, 2019

Hi @nicoara, react-native-thumbnail resolve my problem, thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants