Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vime-js/vime
Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
https://github.com/vime-js/vime
angular audio dailymotion dash embed hls html5 javascript media player react stenciljs svelte video vime vimeo vue web-components youtube
Last synced: 10 days ago
JSON representation
Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
- Host: GitHub
- URL: https://github.com/vime-js/vime
- Owner: vime-js
- License: mit
- Created: 2020-02-15T09:26:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-24T14:16:49.000Z (4 months ago)
- Last Synced: 2024-10-20T07:55:58.207Z (19 days ago)
- Topics: angular, audio, dailymotion, dash, embed, hls, html5, javascript, media, player, react, stenciljs, svelte, video, vime, vimeo, vue, web-components, youtube
- Language: TypeScript
- Homepage: https://vimejs.com
- Size: 26.5 MB
- Stars: 2,758
- Watchers: 23
- Forks: 152
- Open Issues: 171
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-list - vime - js | 1710 | (TypeScript)
- awesome-web-components - `<vime-player>` - Customizable, extensible, accessible and framework agnostic media player. (Real World / Components)
README
Vime is a customizable, extensible, accessible and framework agnostic media player.
[![package-badge]][package]
[![license-badge]][license]
[![semantic-release-badge]][semantic-release]
![Release][release-badge]
[![docs-badge]][docs]
[![jsdelivr-badge]][jsdelivr]
[![discord-badge]][discord]## ✨ Features
- 🎥 [Multi-provider support](#-providers) (HTML5, HLS, YouTube, Vimeo etc.).
- 👑 One API to rule them all! Don't re-learn anything the next time you need a player.
- ♾️ Avoid cross-browser differences on media related APIs, such as fullscreen and picture-in-picture.
- 👐 [Accessible][accessibility] to all via ARIA roles/states/properties and keyboard support.
- 🌎 I18N support.
- 🖥 Designed with both mobile and desktop in mind.
- 👌 Touch input friendly.
- 🎨 Style anything you want with [CSS variables][css-vars]. Default [light][light-theme] and
[dark][dark-theme] themes are included.
- 🏎️ Performant with [preconnections][preconnections] + [lazy loading][lazy-loading] of components
and media out of the box.
- 🧩 Easily build your own components and extend Vime.
- 🗑️ Lightweight - ~25kB (gzip) standalone, and ~47kB with the default Vime UI.
- ️🧰 Awesome default custom UI's for audio/video/live media.
- 🛠 Comprehensive [player API][player-api] with a heap of properties, methods and events.
- 💪 Built with TypeScript so you can enjoy completely typed components.
- 🏠 Feel right at home with HTML/CSS/JS thanks to web components.
- 🏗️ Framework specific bindings for React, Vue, Svelte, Stencil and Angular.[web-components]: https://developer.mozilla.org/en-US/docs/Web/Web_Components
[accessibility]: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
[css-vars]: https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
[light-theme]: https://github.com/vime-js/vime/blob/master/src/themes/light.css
[dark-theme]: https://github.com/vime-js/vime/blob/master/src/themes/default.css
[player-api]: https://vimejs.com/components/core/player
[preconnections]: https://css-tricks.com/using-relpreconnect-to-establish-network-connections-early-and-increase-performance
[lazy-loading]: https://www.imperva.com/learn/performance/lazy-loading## 🍭 Examples
**The examples below are using web components but there are bindings for React, Vue, Svelte, Stencil
and Angular. If you want to see how they look check out our [Demo](https://vimejs.com/demo).**```html
```
_Native UI?_
```html
```
_Custom UI?_
```html
```
## 🏗️ Frameworks
There are framework specific bindings for:
- [React](https://vimejs.com/getting-started/installation#react)
- [Vue](https://vimejs.com/getting-started/installation#vue)
- [Svelte](https://vimejs.com/getting-started/installation#svelte)
- [Stencil](https://vimejs.com/getting-started/installation#stencil)
- [Angular](https://vimejs.com/getting-started/installation#angular)Keep in mind, that at its core Vime is still simply web components. Even if your framework is
not mentioned in the list above, it most likely still supports Vime natively. You can check
[here](https://custom-elements-everywhere.com/) if your framework has complete support for
web components.There are also [examples](./examples) for loading and using Vime with:
- [HTML](./examples/html)
- [Rollup](./examples/rollup)
- [Webpack](./examples/webpack)
- [React](./examples/react)
- [Vue 2](./examples/vue)
- [Vue 3](./examples/vue-next)
- [Svelte](./examples/svelte)
- [Stencil](./examples/stencil)
- [Angular](./examples/angular)## 🖥️ Browsers
Vime is forward thinking and built for the modern web. All
[ES6 Compatible](https://caniuse.com/#feat=es6-module) browsers are supported, some of which are
listed below.- Edge 79+
- Firefox 68+
- Chrome 61+
- Safari 11+
- iOS Safari 11+
- Opera 48+## 🎥 Providers
- [HTML5][provider-file]
- [HLS][provider-hls]
- [Dash][provider-dash]
- [YouTube][provider-youtube]
- [Vimeo][provider-vimeo]
- [Dailymotion][provider-dailymotion][provider-hls]: https://vimejs.com/components/providers/hls
[provider-dash]: https://vimejs.com/components/providers/dash
[provider-file]: https://vimejs.com/components/providers/file
[provider-youtube]: https://vimejs.com/components/providers/youtube
[provider-vimeo]: https://vimejs.com/components/providers/vimeo
[provider-dailymotion]: https://vimejs.com/components/providers/dailymotion## 📖 Documentation
Documentation can be found at [https://vimejs.com](https://vimejs.com).
## 🙋 Support
Feel free to join our [Discord channel][discord] if you'd like help with anything related to Vime.
Please remember to be respectful and patient as this is a community driven project.## 🔨 Contributing
If you'd like to contribute and help in building a better media player for the web, then everything
you need to get started can be found in the [Contributing Guide](./.github/CONTRIBUTING.md).## ❤️ Sponsors
A huge thanks to our sponsors who support open-source projects like Vime.
[package]: https://www.npmjs.com/package/@vime/core
[package-badge]: https://img.shields.io/npm/v/@vime/core
[license]: https://github.com/vime-js/vime/blob/master/LICENSE
[license-badge]: https://img.shields.io/github/license/vime-js/vime?color=blue
[docs]: https://vimejs.com
[docs-badge]: https://img.shields.io/badge/docs-https://vimejs.com-green
[semantic-release]: https://github.com/semantic-release/semantic-release
[semantic-release-badge]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
[jsdelivr]: https://www.jsdelivr.com/package/npm/@vime/core
[jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/@vime/core/badge?style=rounded
[release-badge]: https://github.com/vime-js/vime/workflows/Release/badge.svg?branch=master
[discord]: https://discord.com/invite/7RGU7wvsu9
[discord-badge]: https://img.shields.io/badge/chat-on%20discord-7389D8