A cordova plugin for generating video snapshots