Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadadithya authored Jan 7, 2023
1 parent a2ffb36 commit bec774b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Videoary

Videoary is a simple video player build with Typescript.

To use Videoary
```js
import { Videoary } from "videoary"

const videoary = new Videoary({
containerArea: container,
video: {
src: "example", // The extension must be .mp4
poster: null // Poster or thumbnail extension must be .png
},
subtitles: [
{
short: "en",
long: "English"
}
]
})
```

0 comments on commit bec774b

Please sign in to comment.