Releases: kalashnikovisme/nano-metadata
Releases · kalashnikovisme/nano-metadata
Fix docs
Removing trash
- Removed
console.log
- Removed
eslint
from dependencies
Getting video duration
Now you can video duration with nano-metadata
package
import { video } from 'nano-metadata'
change(e) {
const file = e.target.files[0]
video.duration(file).then((duration) => {
console.log(duration) // will show you video duration in seconds
})
}