video-frames
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -44,2 +44,7 @@ module.exports = async options => { | ||
// Set currentTime to duration / 2 | ||
// (fix for correctly invoking onseeked event for currentTime = 0 if the first frame is at 0 sec.) | ||
video.currentTime = video.duration / 2 | ||
await new Promise(resolve => { seekResolve = resolve }) | ||
// Set options to default values if not set | ||
@@ -46,0 +51,0 @@ fallbackToDefault('format', 'image/png') |
{ | ||
"name": "video-frames", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Client-side video frames extraction as base64 encoded images", |
11746
119