Giter VIP home page Giter VIP logo

cordova-videosnapshot's People

Contributors

ledzep2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cordova-videosnapshot's Issues

Can't make it work with iOS.

video snap shot @0.2.7 ios 8.1 xcode 6 osx 10.9.5

meteor 1.0

installed by meteor add cordova:cordova:[email protected]

2014-11-07 16:45:21.527 snapshot[1515:114145] Finished load of: http://meteor.local/
2014-11-07 16:45:24.507 snapshot[1515:114145] Trying to open undefined
2014-11-07 16:45:24.507 snapshot[1515:114145] In plugin. Options:
2014-11-07 16:45:24.507 snapshot[1515:114145] -[NSNull objectForKey:]: unrecognized selector sent to instance 0x19813a6e0
2014-11-07 16:45:24.508 snapshot[1515:114145] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: -[NSNull objectForKey:]: unrecognized selector sent to instance 0x19813a6e0

Template.test.events

    'click #test': (e, t) ->
        e.preventDefault()
        if window.sebible?
            window.sebible.videosnapshot.snapshot (data) ->
                alert data
                ($ '#debug').html EJSON.stringify data
                , (err) ->
                    alert err
                , {}
        else
            console.log 'i can not do this.'
        console.log 'clicked.'

Trouble with Video duration == 0 on iOS

Hi there,

Great looking plugin, i'd love to use it, trouble is i'm getting an error message:

Plugin failed. Error: Unable to load video (duration == 0)

Wondering if there might be a fix, i'm running on IOS, and haven't been able to get this little guy live. I've tried .mp4 and .mov files with no luck.

Stats if it helps:
Node Version: v0.12.0
Cordova CLI: 4.2.0
Xcode version: Xcode 6.1.1 Build version 6A2008a
ios-sim version: 3.1.1

function snapSuccess(result) {
     if (result && result.result) {
        $scope.thumbnails = result.snapshots
    }
}
var snapOptions = {
     source : "img/testmovie.mp4"                   
}

sebible.videosnapshot.snapshot(snapSuccess, errorCB, snapOptions);

Any help would be much appreciated!

how to avoid the rotation data of the snapshot

i'm currently using the snapshot for displaying a thumbnail in my application, but the snapshot is always returning a rotation data of 90 in the snapshot.

Is there a way to avoid this rotation like a flag or an argument? because i read all the information in the README.md and i didn't have any luck there

Limit of 1 image per second

I am trying to get 3-4 images per second. But i cant get more than 1.

I tried count: 1000, countPerMinuite:1000

My video is of 3 seconds. I am getting 3 or 4 images.

Tried on iphone 6 9.3.1 and two android phones with crosswalk

some issues feedback to you (ios not try yet)

I have a mp4 movie only 5 seconds in Android 4.0.3

issue 1
no mater I set

count: 3,
or
countPerMinute: 3,

when I use "count" method,every time it will always cut 3 pieces of "same" timeStamp pic
00:00:01
00:00:03
00:00:04
when I use "countPerMinute" method,every time it will always cut 1 piece of "same "timeStamp pic
00:00:02

issue 2
no mater I set "timeStamp" to true or false

 timeStamp: true,
 timeStamp: false,

it still print a timestamp at the lower-right corner

Question 1
when I use the ios 7 native camera to Shooting a video,so...
what is the video location address ?
like that ?

/var/mobile/Media/iphone video Recorder/XXX.mp4?

Question 2
what is the property "textSize" use method ?
like that ? like the microsoft word ?

textSize: 48,
textSize: 16,
textSize: 12,

is there any example or usage method?

because of the use way is too simple

window.sebible.videosnapshot.snapshot(success, fail, options)

none....

colud you give us a full sample code to test your plugin?

such like

function success()
{
...
}

function fail()
{
...
}

var options ={...}

tks~

ERROR: Plugin 'VideoSnapshot' not found

Hello everyone,

I am getting this error while running on X-code debugger: "ERROR: Plugin 'VideoSnapshot' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml".

I think i have added all the plugin filed to there appropriate place.
I have added:
Js files on www/plugins/com.sebible.videosnapshot/www/VideoSnapshot.js
IOS package file on config.xml
IOS plugin file on plugins/com.sebible.videosnapshot/VideoSnapshot.h and VideoSnapshot.m

Someone please help me, i don't know what to do? :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.