Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fork/video-lib
Helper methods for HTML video playback
https://github.com/fork/video-lib
Last synced: 1 day ago
JSON representation
Helper methods for HTML video playback
- Host: GitHub
- URL: https://github.com/fork/video-lib
- Owner: fork
- License: mit
- Created: 2019-03-22T14:51:32.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-22T14:57:42.000Z (almost 6 years ago)
- Last Synced: 2024-08-09T20:14:18.169Z (5 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@4rk/video-lib
- Size: 110 KB
- Stars: 7
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# VideoLib
Helper methods for HTML video playback.
This library helps you on problems occuring when implementing custom HTML5 video players. In particular, it has helper methods to:
- Use movingimage with HLS as source, with fallback for non-HLS-compatible browsers
- Apply custom CSS style to subtitles
- Emulating `object-fit: cover;` with Internet Explorer support
- Waiting for a video to become readyPlease take a look at the JSDoc of each method for further information.
## Tricks
- Some browsers do not accept `` to be `mode="hidden"`. Use `kind="metadata"` instead.
## Creating a release
Certain steps need to be done in order to create a new release:
1. Decide on a [semver](https://semver.org/spec/v2.0.0.html) version number
1. Start a new release using `git flow release start [version number]`
1. Update the `package.json` version
1. Run `yarn run release`
1. Commit changes: `git commit -a -m "Prepare release [version number]"`
1. Finish release using `git flow release finish`
1. Push all changes: `git push origin --all && git push origin --tags`## License
See [LICENSE](LICENSE)