Skip to content

Commit

Permalink
fix: set mime type of thumbnail as jpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
fbaiodias committed May 28, 2019
1 parent 5e869e3 commit abb088f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/get-video-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const captureThumb = videoTag =>
)
canvas.toBlob(thumbnail => {
resolve(thumbnail)
})
}, 'image/jpeg')
})

const getVideoInfo = videoBlob =>
Expand Down

0 comments on commit abb088f

Please sign in to comment.