可自定义、可扩展、可访问且不依赖框架的媒体播放器。是 Video.js 和 Plyr 的现代替代方案。支持 HTML5、HLS、Dash、YouTube、Vimeo、Da
可自定义、可扩展、可访问且不依赖框架的媒体播放器。是 Video.js 和 Plyr 的现代替代方案。支持 HTML5、HLS、Dash、YouTube、Vimeo、Da
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.
<vm-player autoplay muted>
<vm-video poster="/media/poster.png" cross-origin>
<source data-src="/media/video.mp4" type="video/mp4" />
<track
default
kind="subtitles"
src="/media/subs/en.vtt"
srclang="en"
label="English"
/>
</vm-video>
<vm-default-ui />
</vm-player>
Native UI?
<vm-player autoplay muted controls>
<vm-audio cross-origin>
<source data-src="/media/audio.mp3" type="audio/mp3" />
</vm-audio>
</vm-player>
Custom UI?
…
There are framework specific bindings for:
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 if your framework has complete support for web components.
There are also examples for loading and using Vime with:
Vime is forward thinking and built for the modern web. All ES6 Compatible browsers are supported, some of which are listed below.
Documentation can be found at https://vimejs.com.
Feel free to join our Discord channel if you'd like help with anything related to Vime. Please remember to be respectful and patient as this is a community driven project.
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.
A huge thanks to our sponsors who support open-source projects like Vime.
暂无开放 Issues,或尚未同步最近议题。