filepreview
filepreview copied to clipboard
File Preview Time For Videos
This node module originally only took the screenshot for the first few seconds of the video/movie. This is an issue because for most movies the first few seconds are black and the first few minutes are simple the introduction.
I updated the options configuration to have the option to specify when the preview is generated for videos. If the user passes in nothing for previewTime, this behaves as it did before.
var options = {
width: 200,
quality: 50,
previewTime: '00:10:30.000'
};
Final results:
A review of this would be greatly appreciated.
@jrtechs Jeffery, thanks for your contribution. I noticed that you also sent a PR at https://github.com/maxlabelle/filepreview/pull/1. As we both know @maxlabelle is the original author but recently he created a new github account and forked from my repo, https://github.com/jolks/filepreview (which I originally forked from his old github account repo that was deleted).
Fortunately, on https://www.npmjs.com/package/filepreview, the homepage is linked to his new account https://github.com/maxlabelle/filepreview. I guess, it would be better to wait for him to merge your PR.
@jolks Thanks for the clarification. I saw that NPM lists @maxlabelle as the owner, but, he branched from you on github. It appears that @maxlabelle is inactive on github so I might be waiting a while to get that PR reviewed 😄