Better README
This commit is contained in:
parent
64b5e4893a
commit
34560b85e8
@ -1,8 +1,8 @@
|
|||||||
Snaphash
|
Snaphash
|
||||||
========
|
========
|
||||||
Preview video times with ease
|
Preview video frames on `<img>` elements with ease.
|
||||||
|
|
||||||
How it works?
|
How does it work?
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<video id="myvideo" src="big-buck-bunny.mp4"></video>
|
<video id="myvideo" src="big-buck-bunny.mp4"></video>
|
||||||
@ -14,8 +14,8 @@ How it works?
|
|||||||
Snaphash('img');
|
Snaphash('img');
|
||||||
```
|
```
|
||||||
|
|
||||||
That's all, a preview of video at 00:00:15 will be shown in the `img` element.
|
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.
|
You can omit unnecessary zeros from time, i.e. `#myvideo@15` is the same as `#myvideo@00:00:15`.
|
||||||
|
|
||||||
See a [demo](http://mdibaiee.github.io/snaphash)
|
See a [demo](http://mdibaiee.github.io/snaphash)
|
||||||
|
Loading…
Reference in New Issue
Block a user