cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tanase Butcaru (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10369) Added getVideo() feature with thumbnail creation
Date Wed, 20 Jan 2016 21:02:39 GMT

    [ https://issues.apache.org/jira/browse/CB-10369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15109396#comment-15109396
] 

Tanase Butcaru commented on CB-10369:
-------------------------------------

[~riknoll] I know that video capturing already exists in cordova-plugin-media-capture, but
it seems I misunderstood it! I have tested the media-capture plugin some time ago, but only
the audio recorder function and from that day I thought that video capture would work the
same: opens a "Video recorder" application (something different from default camera app) and
that would allow the user to record a video. This was the main reason I created this feature
for the camera plugin, because it wouldn't felt natural (like all the other apps on the market)
if it was like that..

Concluding, I've made this feature by "mistake". The only advantage is the thumbnail option
(which can be easily implemented for getPicture() too, android at least).
--------
Regarding camera plugin, as I noted in my PR with some commented code, it would be great to
separate picture & video operations in the future, in case this feature will be merged.
I mean, the getPicture() should only select & create images and getVideo() should only
select & create videos! Right now, with getPicture() we can create & select images
+ select videos.

Talking about all cordova core plugins that handle media operations, I would merge them in
one full featured plugin. The plugin-camera, plugin-media-capture, plugin-media should become
just cordova-plugin-media with the following api:
- media.capture(): create new image & video from camera
- media.picker(): select media file(s) from device library (image, video & audio) / audio
implementation for android & ios could start from here https://github.com/an-rahulpandey/cordova-plugin-mediapicker
- media.audio - current cordova-plugin-media api rewritten to support w3c specifications with
sub methods like media.audio.startRecord(), etc..
... and this would become a media centric plugin with everything developers need.

> Added getVideo() feature with thumbnail creation
> ------------------------------------------------
>
>                 Key: CB-10369
>                 URL: https://issues.apache.org/jira/browse/CB-10369
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Plugin Camera
>            Reporter: Tanase Butcaru
>              Labels: Android, features
>
> I've implemented the +getVideo()+ function for cordova-plugin-camera which gives the
user the ability to record a video with default camera app.
> Optionally, this feature can create a thumbnail for the recorded video.
> Full description and PR can be found in the external issue URL.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message