百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
V

vime

> 前端框架
开源

可自定义、可扩展、可访问且不依赖框架的媒体播放器。是 Video.js 和 Plyr 的现代替代方案。支持 HTML5、HLS、Dash、YouTube、Vimeo、Da

2.8K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

可自定义、可扩展、可访问且不依赖框架的媒体播放器。是 Video.js 和 Plyr 的现代替代方案。支持 HTML5、HLS、Dash、YouTube、Vimeo、Da

✨ Features

  •  Multi-provider support (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 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. Default light and dark themes are included.
  • ️  Performant with preconnections + 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 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.

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.

<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?

…

️ Frameworks

There are framework specific bindings for:

  • React
  • Vue
  • Svelte
  • Stencil
  • 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 if your framework has complete support for web components.

There are also examples for loading and using Vime with:

  • HTML
  • Rollup
  • Webpack
  • React
  • Vue 2
  • Vue 3
  • Svelte
  • Stencil
  • Angular

️ Browsers

Vime is forward thinking and built for the modern web. All ES6 Compatible browsers are supported, some of which are listed below.

  • Edge 79+
  • Firefox 68+
  • Chrome 61+
  • Safari 11+
  • iOS Safari 11+
  • Opera 48+

Providers

  • HTML5
  • HLS
  • Dash
  • YouTube
  • Vimeo
  • Dailymotion

Documentation

Documentation can be found at https://vimejs.com.

Support

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.

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.

❤️ Sponsors

A huge thanks to our sponsors who support open-source projects like Vime.

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •&nbsp;Multi-provider support (HTML5, HLS, YouTube, Vimeo etc.).
  • •&nbsp;One API to rule them all! Don't re-learn anything the next time you need a player.
  • •♾️ &nbsp;Avoid cross-browser differences on media related APIs, such as fullscreen and picture-in-picture.
  • •&nbsp;[Accessible][accessibility] to all via ARIA roles/states/properties and keyboard support.
  • •&nbsp;I18N support.
  • •&nbsp;Designed with both mobile and desktop in mind.
  • •&nbsp;Touch input friendly.
  • •&nbsp;Style anything you want with [CSS variables][css-vars]. Default [light][light-theme] and
  • •️ &nbsp;Performant with [preconnections][preconnections] + [lazy loading][lazy-loading] of components
  • •&nbsp;Easily build your own components and extend Vime.

> 标签

TypeScriptangularaudiodailymotiondash

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架