{"_id":"cordova-plugin-video-helper","_rev":"35-0501d159b0ff47ae71fe205a64a862d2","name":"cordova-plugin-video-helper","dist-tags":{"latest":"2.0.8"},"versions":{"2.0.0":{"name":"cordova-plugin-video-helper","version":"2.0.0","keywords":["cordova","android","ecosystem:cordova","cordova-android"],"author":{"name":"Okan Beydanol"},"license":"Apache-2.0","_id":"cordova-plugin-video-helper@2.0.0","maintainers":[{"name":"tinyq","email":"okan.beydanol@gmail.com"}],"homepage":"https://github.com/okanbeydanol/cordova-plugin-video-helper#readme","bugs":{"url":"https://github.com/okanbeydanol/cordova-plugin-video-helper/issues"},"dist":{"shasum":"bd954e090fafd81869ae4fafae2b6f46e5630d4b","tarball":"https://registry.npmjs.org/cordova-plugin-video-helper/-/cordova-plugin-video-helper-2.0.0.tgz","fileCount":28,"integrity":"sha512-KX0Aubj89IC7/If686TrAfdoL5oys557ouNn80MT/c+C9E92Feie9WifkfFcQ1kKXHWw1KDFcAp783VH+FpJhw==","signatures":[{"sig":"MEUCIA+t3zyX/93rLS+kdFnFOREV8pwE4UNGip9GVDRPnoQHAiEAr/qdh81jFPTabcGHffsgn7q0BU6hRTlVjWt3UmWsPKs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92238},"_from":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","_spec":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","_where":"/Users/okanbeydanol/Desktop/cordova-plugin-video-helper","cordova":{"id":"cordova-plugin-video-helper","platforms":["android","ios"]},"gitHead":"61a9f202a591ab984a983c6337690b5bf52db282","_npmUser":{"name":"tinyq","email":"okan.beydanol@gmail.com"},"_inBundle":false,"_location":"/cordova-plugin-video-helper","_resolved":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git#eb14328ff5657352981ed8fdab144cc5f20805bd","_integrity":"","_requested":{"raw":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","type":"git","rawSpec":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","saveSpec":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","fetchSpec":"https://github.com/okanbeydanol/cordova-plugin-video-helper.git","gitCommittish":null},"deprecated":false,"repository":{"url":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","type":"git"},"_npmVersion":"6.14.13","_requiredBy":["#DEV:/","#USER"],"description":"Compress Video and get video infos.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"_phantomChildren":{},"_npmOperationalInternal":{"tmp":"tmp/cordova-plugin-video-helper_2.0.0_1692739213972_0.8224769425764418","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"cordova-plugin-video-helper","version":"2.0.1","keywords":["cordova","android","ecosystem:cordova","cordova-android"],"author":{"name":"Okan Beydanol"},"license":"Apache-2.0","_id":"cordova-plugin-video-helper@2.0.1","maintainers":[{"name":"tinyq","email":"okan.beydanol@gmail.com"}],"homepage":"https://github.com/okanbeydanol/cordova-plugin-video-helper#readme","bugs":{"url":"https://github.com/okanbeydanol/cordova-plugin-video-helper/issues"},"dist":{"shasum":"73b69b52339c2d97d249135ea649f1bf501f9ef1","tarball":"https://registry.npmjs.org/cordova-plugin-video-helper/-/cordova-plugin-video-helper-2.0.1.tgz","fileCount":28,"integrity":"sha512-IfRHl16WA5snGAHJ8LOK+oYKor1yCVH1NzH4c5CBlvFAid9cnv7yAOOCa2V9I9RHGrxkZTMxgoMUlUJZObbTXA==","signatures":[{"sig":"MEYCIQDxqycVX/Vw2tkPJ6wxzlL2UDGsZXsNPCI5UBn78TbL6AIhAKZbSOsmFL2MLLgfLsXw84VYS4tcFzrmtkOO9CG2JyOZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92143},"_from":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","_spec":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","_where":"/Users/okanbeydanol/Desktop/cordova-plugin-video-helper","cordova":{"id":"cordova-plugin-video-helper","platforms":["android","ios"]},"gitHead":"568f979d634517a86572b9ab5c7766baeb888e88","_npmUser":{"name":"tinyq","email":"okan.beydanol@gmail.com"},"_inBundle":false,"_location":"/cordova-plugin-video-helper","_resolved":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git#eb14328ff5657352981ed8fdab144cc5f20805bd","_integrity":"","_requested":{"raw":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","type":"git","rawSpec":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","saveSpec":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","fetchSpec":"https://github.com/okanbeydanol/cordova-plugin-video-helper.git","gitCommittish":null},"deprecated":false,"repository":{"url":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","type":"git"},"_npmVersion":"6.14.13","_requiredBy":["#DEV:/","#USER"],"description":"Compress Video and get video infos.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"_phantomChildren":{},"_npmOperationalInternal":{"tmp":"tmp/cordova-plugin-video-helper_2.0.1_1692838885986_0.8610592489528133","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"cordova-plugin-video-helper","version":"2.0.2","keywords":["cordova","android","ecosystem:cordova","cordova-android"],"author":{"name":"Okan Beydanol"},"license":"Apache-2.0","_id":"cordova-plugin-video-helper@2.0.2","maintainers":[{"name":"tinyq","email":"okan.beydanol@gmail.com"}],"homepage":"https://github.com/okanbeydanol/cordova-plugin-video-helper#readme","bugs":{"url":"https://github.com/okanbeydanol/cordova-plugin-video-helper/issues"},"dist":{"shasum":"c54fe2fc915df87646e1b9504a867157c4ca38fc","tarball":"https://registry.npmjs.org/cordova-plugin-video-helper/-/cordova-plugin-video-helper-2.0.2.tgz","fileCount":28,"integrity":"sha512-geJvnu3/9CuHMdHERdQeBlDpNGfuhy27u2GEoZO0cfTohR4/gJABZ4KuOmFgGsjUYW22IUc2ADASbKkXsD6euA==","signatures":[{"sig":"MEYCIQDjaysbS+NH+DP6O+DKKetA1nn7Bc4QacX9ZSzlOzE5VwIhANd9BgkTgbof534ATMoXYPTCcyJJoY/goxSbkUbGo5Sb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92079},"_from":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","_spec":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","_where":"/Users/okanbeydanol/Desktop/cordova-plugin-video-helper","cordova":{"id":"cordova-plugin-video-helper","platforms":["android","ios"]},"gitHead":"f68723b6fe353121791c7f599f07f2e154c6f93c","_npmUser":{"name":"tinyq","email":"okan.beydanol@gmail.com"},"_inBundle":false,"_location":"/cordova-plugin-video-helper","_resolved":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git#eb14328ff5657352981ed8fdab144cc5f20805bd","_integrity":"","_requested":{"raw":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","type":"git","rawSpec":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","saveSpec":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","fetchSpec":"https://github.com/okanbeydanol/cordova-plugin-video-helper.git","gitCommittish":null},"deprecated":false,"repository":{"url":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","type":"git"},"_npmVersion":"6.14.13","_requiredBy":["#DEV:/","#USER"],"description":"Compress Video and get video infos.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"_phantomChildren":{},"_npmOperationalInternal":{"tmp":"tmp/cordova-plugin-video-helper_2.0.2_1692959915225_0.015238908995877098","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"cordova-plugin-video-helper","version":"2.0.3","keywords":["cordova","android","ecosystem:cordova","cordova-android"],"author":{"name":"Okan Beydanol"},"license":"Apache-2.0","_id":"cordova-plugin-video-helper@2.0.3","maintainers":[{"name":"tinyq","email":"okan.beydanol@gmail.com"}],"homepage":"https://github.com/okanbeydanol/cordova-plugin-video-helper#readme","bugs":{"url":"https://github.com/okanbeydanol/cordova-plugin-video-helper/issues"},"dist":{"shasum":"32d997647a6636f223337cb61ed0d3b98aaffad5","tarball":"https://registry.npmjs.org/cordova-plugin-video-helper/-/cordova-plugin-video-helper-2.0.3.tgz","fileCount":28,"integrity":"sha512-LwytZHdXu9sITgiRCoVaeqCgJnQuOJq+66mWR4ORi8azX3AmnU5KXbGZDizZF236UmojE+3W2sgrTuf4+Q2B5A==","signatures":[{"sig":"MEYCIQChtUaU+NnPrn7XRbeqr1DigRpBAZ+3DtqLN2G04RPHlAIhAJPbGnrZL82dUME+yV2Z47tJz/4mdi3ql8xqLHezC1gl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92318},"_from":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","_spec":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","_where":"/Users/okanbeydanol/Desktop/cordova-plugin-video-helper","cordova":{"id":"cordova-plugin-video-helper","platforms":["android","ios"]},"gitHead":"32f1f5fbf7d356ce58696c641ec02cbd92552c3e","_npmUser":{"name":"tinyq","email":"okan.beydanol@gmail.com"},"_inBundle":false,"_location":"/cordova-plugin-video-helper","_resolved":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git#eb14328ff5657352981ed8fdab144cc5f20805bd","_integrity":"","_requested":{"raw":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","type":"git","rawSpec":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","saveSpec":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","fetchSpec":"https://github.com/okanbeydanol/cordova-plugin-video-helper.git","gitCommittish":null},"deprecated":false,"repository":{"url":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","type":"git"},"_npmVersion":"6.14.13","_requiredBy":["#DEV:/","#USER"],"description":"Compress Video and get video infos.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"_phantomChildren":{},"_npmOperationalInternal":{"tmp":"tmp/cordova-plugin-video-helper_2.0.3_1700739545009_0.24077456374064155","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"cordova-plugin-video-helper","version":"2.0.4","keywords":["cordova","android","ecosystem:cordova","cordova-android"],"author":{"name":"Okan Beydanol"},"license":"Apache-2.0","_id":"cordova-plugin-video-helper@2.0.4","maintainers":[{"name":"tinyq","email":"okan.beydanol@gmail.com"}],"homepage":"https://github.com/okanbeydanol/cordova-plugin-video-helper#readme","bugs":{"url":"https://github.com/okanbeydanol/cordova-plugin-video-helper/issues"},"dist":{"shasum":"5e2f9e149339394ec1b83abd7235573a6fd922e8","tarball":"https://registry.npmjs.org/cordova-plugin-video-helper/-/cordova-plugin-video-helper-2.0.4.tgz","fileCount":28,"integrity":"sha512-lMmtjKuSzs0IUlmtjWgX4XCEBLtr6Rl2inqPOrUWQAPPAln7R9Z9U//4+hCQzkwfT1qlTj0Q/cxy1YR7DHQmHw==","signatures":[{"sig":"MEUCIQDDRkhVJs04Nda3ex9DeNrGdkvg3CGWRt1WO1h4SdK8YwIgDO3X0kKcTw+GaC2Pis3ShBI4RGSgOvimV2Nq2ICg1C4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92322},"cordova":{"id":"cordova-plugin-video-helper","platforms":["android","ios"]},"gitHead":"be1573dab672599cd56a1a1137fe8609b07e8e24","_npmUser":{"name":"tinyq","email":"okan.beydanol@gmail.com"},"deprecated":false,"repository":{"url":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","type":"git"},"_npmVersion":"10.8.2","description":"Compress Video and get video infos.","directories":{},"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/cordova-plugin-video-helper_2.0.4_1741090544789_0.2744611954047176","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"cordova-plugin-video-helper","version":"2.0.5","keywords":["cordova","android","ecosystem:cordova","cordova-android"],"author":{"name":"Okan Beydanol"},"license":"Apache-2.0","_id":"cordova-plugin-video-helper@2.0.5","maintainers":[{"name":"tinyq","email":"okan.beydanol@gmail.com"}],"homepage":"https://github.com/okanbeydanol/cordova-plugin-video-helper#readme","bugs":{"url":"https://github.com/okanbeydanol/cordova-plugin-video-helper/issues"},"dist":{"shasum":"718910b78fd3a92f96602d20e110745c9aca9e6f","tarball":"https://registry.npmjs.org/cordova-plugin-video-helper/-/cordova-plugin-video-helper-2.0.5.tgz","fileCount":30,"integrity":"sha512-k883KqF7e195/JURl/2bclfH++LoAH6PcC8l79LcL1dU17okVIoOlzU7bDGJ5Qlzx0IkURadIWO5l9taRIxlFw==","signatures":[{"sig":"MEQCID7cn3cB4fN64XAYtq4UrBDuwGuUVs3Ccnx6cEhsLpAJAiACiaCFmpB4tKStWsYYrKz65rW4fu5YuT3hpc0qYaT8pw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93803},"main":"www/VideoHelper.js","types":"www/VideoHelper.d.ts","cordova":{"id":"cordova-plugin-video-helper","platforms":["android","ios"]},"gitHead":"fe67470714b99c5b25a7c0b2b571ca731fe1e0a4","_npmUser":{"name":"tinyq","email":"okan.beydanol@gmail.com"},"deprecated":false,"repository":{"url":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","type":"git"},"_npmVersion":"10.8.2","description":"Compress Video and get video infos.","directories":{},"_nodeVersion":"20.19.3","_hasShrinkwrap":false,"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/cordova-plugin-video-helper_2.0.5_1755168011248_0.12962197531566044","host":"s3://npm-registry-packages-npm-production"}},"2.0.7":{"name":"cordova-plugin-video-helper","version":"2.0.7","keywords":["cordova","android","ecosystem:cordova","cordova-android"],"author":{"name":"Okan Beydanol"},"license":"Apache-2.0","_id":"cordova-plugin-video-helper@2.0.7","maintainers":[{"name":"tinyq","email":"okan.beydanol@gmail.com"}],"homepage":"https://github.com/okanbeydanol/cordova-plugin-video-helper#readme","bugs":{"url":"https://github.com/okanbeydanol/cordova-plugin-video-helper/issues"},"dist":{"shasum":"340d10ae3cb22d2b0ef13ceb0a676f3d40e6992a","tarball":"https://registry.npmjs.org/cordova-plugin-video-helper/-/cordova-plugin-video-helper-2.0.7.tgz","fileCount":39,"integrity":"sha512-d00Q8rgYuaEeaAhNdENzCOqjPymmMA/rPvTz0mc4lXCOggmIh/naDEWCrmAdKLIW52/TkyKY/si//07iua624Q==","signatures":[{"sig":"MEYCIQCrFAFsJ2HuR+Mh/uN7RsKnbWqE0nCDanS8AgX5McUMRgIhALBEBq7Jx28DgP/9iJMd/O9UUyipW2iKXTROpW93xuBq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":105281},"main":"www/VideoHelper.js","types":"www/VideoHelper.d.ts","cordova":{"id":"cordova-plugin-video-helper","platforms":["android","ios"]},"gitHead":"9ff546ccd32e61ac1ceb14c889f0d4f3fcf20e34","_npmUser":{"name":"tinyq","email":"okan.beydanol@gmail.com"},"deprecated":false,"repository":{"url":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git","type":"git"},"_npmVersion":"10.8.2","description":"Compress Video and get video infos.","directories":{},"_nodeVersion":"20.19.3","_hasShrinkwrap":false,"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/cordova-plugin-video-helper_2.0.7_1755614371482_0.9928108188938223","host":"s3://npm-registry-packages-npm-production"}},"2.0.8":{"author":{"name":"Okan Beydanol"},"bugs":{"url":"https://github.com/okanbeydanol/cordova-plugin-video-helper/issues"},"bundleDependencies":[],"cordova":{"id":"cordova-plugin-video-helper","platforms":["android","ios"]},"deprecated":false,"description":"Compress Video and get video infos.","homepage":"https://github.com/okanbeydanol/cordova-plugin-video-helper#readme","keywords":["cordova","android","ecosystem:cordova","cordova-android"],"license":"Apache-2.0","name":"cordova-plugin-video-helper","repository":{"type":"git","url":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git"},"main":"www/VideoHelper.js","types":"www/VideoHelper.d.ts","version":"2.0.8","_id":"cordova-plugin-video-helper@2.0.8","gitHead":"4d0a4164fe9aca8e2b5596561bc5356e36a119d9","_nodeVersion":"20.19.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-y9gdCgyI9lcaKTzgR7pvQPHE9zcCOGwUBCEmCzLarh0BEyfDGMaCTRQmbi7hx2BF2zgcKKM+tuuPQW+QtUUHGg==","shasum":"c0cd290e6df7ecdb2b1887f1959a48c93d6e7c28","tarball":"https://registry.npmjs.org/cordova-plugin-video-helper/-/cordova-plugin-video-helper-2.0.8.tgz","fileCount":33,"unpackedSize":105662,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHDyv6fOBv71jvAx7XUvn5UQ2cjsB1AE5Pbj6O1Ma0GvAiBxriIql5Vi8qS9V/PecEhTUlwzVcXeMmmkFIfkkzEHQQ=="}]},"_npmUser":{"name":"tinyq","email":"okan.beydanol@gmail.com"},"directories":{},"maintainers":[{"name":"tinyq","email":"okan.beydanol@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cordova-plugin-video-helper_2.0.8_1761555966162_0.3000912713798227"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-22T21:20:13.874Z","modified":"2025-10-27T09:06:06.566Z","1.1.0":"2023-08-15T12:09:45.303Z","1.1.1":"2023-08-15T12:12:00.063Z","1.1.3":"2023-08-15T12:24:11.939Z","1.1.4":"2023-08-15T12:40:13.872Z","1.1.5":"2023-08-15T12:44:07.943Z","1.1.6":"2023-08-15T12:48:23.842Z","1.1.7":"2023-08-15T12:56:28.713Z","1.1.8":"2023-08-15T13:06:25.975Z","1.1.9":"2023-08-15T13:15:51.603Z","1.2.0":"2023-08-15T15:08:00.974Z","1.2.1":"2023-08-15T15:37:46.612Z","1.2.2":"2023-08-15T17:59:52.848Z","1.2.3":"2023-08-15T18:07:42.594Z","1.2.4":"2023-08-15T18:31:06.672Z","1.2.5":"2023-08-15T18:50:50.437Z","1.2.6":"2023-08-15T19:14:16.301Z","1.2.7":"2023-08-16T10:36:12.303Z","1.2.8":"2023-08-16T11:53:30.385Z","1.2.9":"2023-08-16T13:48:07.865Z","1.3.1":"2023-08-17T10:10:31.586Z","1.3.2":"2023-08-17T10:18:00.518Z","1.3.3":"2023-08-17T11:38:26.649Z","1.0.0":"2023-08-17T12:51:51.515Z","2.0.0":"2023-08-22T21:20:14.159Z","2.0.1":"2023-08-24T01:01:26.326Z","2.0.2":"2023-08-25T10:38:35.496Z","2.0.3":"2023-11-23T11:39:05.190Z","2.0.4":"2025-03-04T12:15:44.992Z","2.0.5":"2025-08-14T10:40:11.453Z","2.0.6":"2025-08-19T05:56:54.701Z","2.0.7":"2025-08-19T14:39:31.669Z","2.0.8":"2025-10-27T09:06:06.366Z"},"bugs":{"url":"https://github.com/okanbeydanol/cordova-plugin-video-helper/issues"},"author":{"name":"Okan Beydanol"},"license":"Apache-2.0","homepage":"https://github.com/okanbeydanol/cordova-plugin-video-helper#readme","keywords":["cordova","android","ecosystem:cordova","cordova-android"],"repository":{"type":"git","url":"git+https://github.com/okanbeydanol/cordova-plugin-video-helper.git"},"description":"Compress Video and get video infos.","maintainers":[{"name":"tinyq","email":"okan.beydanol@gmail.com"}],"readme":"# [Cordova Video Helper](https://github.com/okanbeydanol/cordova-plugin-video-helper) [![Release](https://img.shields.io/npm/v/cordova-plugin-video-helper.svg?style=flat)](https://github.com/okanbeydanol/cordova-plugin-video-helper/releases)\n\nThis plugin provides a simple way to perform video editing tasks in Cordova apps:\n\n* Transcoding\n* Trimming\n* Creating thumbnails\n* Getting video info (width, height, orientation, duration, size, bitrate)\n\nSupports Android and iOS.\n\n## Plugin setup\n\nUsing this plugin requires [Cordova iOS](https://github.com/apache/cordova-ios) and [Cordova Android](https://github.com/apache/cordova-android).\n\n1. `cordova plugin add cordova-plugin-video-helper`--save\n\n## Usage\n\n### JavaScript (Global Cordova)\nAfter the device is ready, you can use the plugin via the global `cordova.plugins.VideoHelper` object:\n\n```javascript\nvar VideoHelper = cordova.plugins.VideoHelper;\n\n// Transcode a video\nVideoHelper.transcodeVideo({\n    fileUri: 'file-uri-here',\n    outputFileName: 'output-name',\n    width: 340,\n    height: 640,\n    videoBitrate: 5000000,\n    duration: 60,\n}, success, error);\n\n// Trim a video\nVideoHelper.trim({\n    fileUri: 'file-uri-here',\n    trimStart: 0,\n    outputFileName: 'output-name'\n}, trimSuccess, trimFail);\n\n// Create a thumbnail\nVideoHelper.createThumbnail({\n    fileUri: 'file-uri-here',\n    outputFileName: 'output-name',\n    atTime: 2,\n    width: 320,\n    height: 480,\n    quality: 100\n}, success, error);\n\n// Get video info\nVideoHelper.getVideoInfo('file-uri-here', getVideoInfoSuccess, getVideoInfoError);\n```\n\n### TypeScript / ES Module / Ionic\nYou can also use ES module imports (with TypeScript support):\n\n```typescript\nimport { VideoHelper } from 'cordova-plugin-video-helper';\n\n// Transcode a video\nVideoHelper.transcodeVideo({\n    fileUri: 'file-uri-here',\n    outputFileName: 'output-name',\n    width: 340,\n    height: 640,\n    videoBitrate: 5000000,\n    duration: 60,\n}, (info) => {\n    console.log('Transcode info:', info);\n}, (error) => {\n    console.error('Transcode error:', error);\n});\n\n// Trim a video\nVideoHelper.trim({\n    fileUri: 'file-uri-here',\n    trimStart: 0,\n    outputFileName: 'output-name'\n}, (result) => {\n    console.log('Trimmed video path:', result);\n}, (error) => {\n    console.error('Trim error:', error);\n});\n\n//Create a JPEG thumbnail from a video\nVideoHelper.createThumbnail({\n    fileUri: 'file-uri-here',\n    outputFileName: 'output-name',\n    atTime: 2,\n    width: 320,\n    height: 480,\n    quality: 100\n}, (path) => {\n    console.log('Thumbnail path:', path);\n}, (error) => {\n    console.error('Thumbnail error:', error);\n});\n#### A note on width and height used by createThumbnail\nThe aspect ratio of the thumbnail created will match that of the video input. This means you may not get exactly the\nwidth and height dimensions you give to `createThumbnail` for the jpeg. This for your convenience but let us know if it\nis a problem.\n\n//Get info on a video (width, height, orientation, duration, size, & bitrate)\nVideoHelper.getVideoInfo('file-uri-here', (info) => {\n    console.log('Video info:', info);\n}, (error) => {\n    console.error('Video info error:', error);\n});\n```\n\nTypeScript Types\nType definitions are included. You get full autocompletion and type safety in TypeScript/Ionic projects.\n\n* Check the [Typescript definitions](https://github.com/okanbeydanol/cordova-plugin-video-helper/tree/master/www/VideoHelper.d.ts) for additional configuration.\n\n\n## On iOS\n\n[iOS Developer AVFoundation Documentation](https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/01_UsingAssets.html#//apple_ref/doc/uid/TP40010188-CH7-SW8)\n\n[Video compression in AVFoundation](http://www.iphonedevsdk.com/forum/iphone-sdk-development/110246-video-compression-avassetwriter-in-avfoundation.html)\n\n[AVFoundation slides - tips/tricks](https://speakerdeck.com/bobmccune/composing-and-editing-media-with-av-foundation)\n\n[AVFoundation slides #2](http://www.slideshare.net/bobmccune/learning-avfoundation)\n\n[Bob McCune's AVFoundation Editor - ios app example](https://github.com/tapharmonic/AVFoundationEditor)\n\n[Saving videos after recording videos](http://stackoverflow.com/questions/20902234/save-video-to-library-after-capturing-video-using-phonegap-capturevideo)\n\n## On Android\n\n[Android Documentation](http://developer.android.com/guide/appendix/media-formats.html#recommendations)\n\n[Android Media Stores](http://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_VIDEO_QUALITY)\n\n[Android Transcoder](https://github.com/okanbeydanol/android-transcoder)\n\n## Communication\n\n- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/cordova). (Tag `cordova`)\n- If you **found a bug** or **have a feature request**, open an issue.\n- If you **want to contribute**, submit a pull request.\n\n## Contributing\n\nPatches welcome! Please submit all pull requests against the master branch. If your pull request contains JavaScript patches or features, include relevant unit tests. Thanks!\n\n## Copyright and license\n\n    The MIT License (MIT)\n\n    Copyright (c) 2024 Okan Beydanol\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in all\n    copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n    SOFTWARE.\n","readmeFilename":"Readme.md"}