Preview video frames on elements with ease
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Mahdi Dibaiee a4c2cd0b70
Better argument handling
7 years ago
README.md Better README 7 years ago
index.html rename demo file 7 years ago
index.js initial commit 7 years ago
snaphash.js Better argument handling 7 years ago
test.mp4 initial commit 7 years ago

README.md

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