Skip to content

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

License

Notifications You must be signed in to change notification settings

shyambhongle/react-native-video-duration

Repository files navigation

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

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published