react-native-video-duration
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

react-native-video-duration

Retrieve the video duration on iOS and Android platforms by specifying the file path.

Installation

npm install react-native-video-duration

Usage

import { getVideoDuration } from 'react-native-video-duration';

// ...

const result = await getVideoDuration("Video URL path");
// Return video duration in "seconds"

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.2383latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.2383
0.1.10

Package Sidebar

Install

npm i react-native-video-duration

Weekly Downloads

383

Version

0.1.2

License

MIT

Unpacked Size

16.1 kB

Total Files

20

Last publish

Collaborators

  • shyambhongle