Preview video frames on elements with ease
Go to file
2015-09-25 20:52:03 +03:30
index.html rename demo file 2015-09-25 19:08:05 +03:30
index.js initial commit 2015-09-25 19:03:45 +03:30
README.md Better README 2015-09-25 19:11:15 +03:30
snaphash.js check single element type to be html image element 2015-09-25 20:52:03 +03:30
test.mp4 initial commit 2015-09-25 19:03:45 +03:30

Snaphash

Preview video frames on <img> elements with ease.

How does it work?

<video id="myvideo" src="big-buck-bunny.mp4"></video>

<img data-snap="#myvideo@00:00:15" />
Snaphash('img');

That's all, a preview of video's frame at 00:00:15 will be shown in the img element.

You can omit unnecessary zeros from time, i.e. #myvideo@15 is the same as #myvideo@00:00:15.

See a demo