New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add getVideos function #37
Comments
Currently not. I just don't have such functionality in product that I developing photo-library for. |
I see for ios you use PHImageRequestOptions and I see PHVideoRequestOptions
|
What cordova plugins are exist that work with videos on device?
Specifically, those that can play a video, and these that can display video
thumbnails?
First of all, research is needed.
…On יום ג׳, 14 בפבר׳ 2017 at 10:40 Simon ***@***.***> wrote:
I see for ios you use PHImageRequestOptions
<https://developer.apple.com/reference/photos/phimagerequestoptions> and
I see PHVideoRequestOptions
<https://developer.apple.com/reference/photos/phvideorequestoptions>
-
Add getVideos() on javascript
-
Add getVideos() on ios
-
Add getVideos() on android
-
May be refactoring getLibrary() to getImages()
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKYX9H0V_7DA6Og8ZYln_5Dm2FFt6iPQks5rcWhigaJpZM4L_SIn>
.
|
I think just retrieving the list of videos from device should be easy. The question is what can you do with them in Cordova? The idea of the plugin is to provide access to photos on device by URL, so you can use in your app any JavaScript library that presents photos. |
List of cordova plugin:
But I can't find cordova plugin which return all videos from Library. |
I just add upload picture on new Cozy Cloud Mobile Application. But in few days I would like make the same for video. So I search the best plugin and It's not really bad idea to add it on yours, I think. ;) |
Ok, there are plugins that can get a thumbnail. None of those plugins can play video in HTML though. |
Hi. I have also the problem that photo-library getLibrary only response with images on Android. I need to get the id of the latest video to call shareAsset() by @ionic-native/instagram. It works pretty fine on iOS. I just call the following and it work on iOS but NOT on Android: Are videos ignored by default on Android? Can we have a optional flag to get them? Thank you and thanks for the work on that plugin. |
@codebeauty photoLibrary is currently does not support working with videos. I can't see much use of getLibrary returns video metadata, without being able to play the video itself. |
@viskin thank you for feedback. Do you know another plugin? Do you have one in your mind for my use case? Thank you for any idea. |
Sorry don't know |
@kosssi @codebeauty There is any solution for this? Thanks @viskin I think this feature would be useful too. and I think is under the scope of this since you have a saveVideo method :) |
@viskin I just Checked in The code and saw that includeVideos was available, I used it and it worked :D But maybe this plugin needs a documentation improvement |
@fega IncludeVideos not working , It is not fetching the video details |
@tamsel12 after some work with this plugin I can confirm that video pick works on IOS but not on Android |
I too would also love to see video support when using getLibrary(). The ability of getting the video as a blob as shown using cordova.plugins.photoLibrary.getPhoto on the homepage would also be very helpful as photos and video are both displayed in a phones gallery. Would it be possible to set up a bounty for this functionality? |
In your plugin, I can search all pictures (getLibrary), save picture or video (thanks a lot for all of this).
It's possible to search videos?
The text was updated successfully, but these errors were encountered: