added video thumbnail capture
fixed a typo and casting issues
Merge pull request #164 from blushmessenger/master

added video thumbnail capture