22 lines
378 B
Markdown
22 lines
378 B
Markdown
|
Snaphash
|
||
|
========
|
||
|
Preview video times with ease
|
||
|
|
||
|
How it works?
|
||
|
|
||
|
```html
|
||
|
<video id="myvideo" src="big-buck-bunny.mp4"></video>
|
||
|
|
||
|
<img data-snap="#myvideo@00:00:15" />
|
||
|
```
|
||
|
|
||
|
```javascript
|
||
|
Snaphash('img');
|
||
|
```
|
||
|
|
||
|
That's all, a preview of video at 00:00:15 will be shown in the `img` element.
|
||
|
|
||
|
You can omit unnecessary zeros from time.
|
||
|
|
||
|
See a [demo](http://mdibaiee.github.io/snaphash)
|