vimeo-video-element

A custom element for the Vimeo player with an API that matches the `<video>` API

MIT 38 个版本
安装
npm install vimeo-video-element
yarn add vimeo-video-element
pnpm add vimeo-video-element
bun add vimeo-video-element
README

<vimeo-video>

NPM Version NPM Downloads jsDelivr hits (npm) npm bundle size

A custom element for the Vimeo player with an API that matches the <video> API.

Example (CodeSandbox)

<script type="module" src="https://cdn.jsdelivr.net/npm/vimeo-video-element@1.0/+esm"></script>
<vimeo-video controls src="https://vimeo.com/648359100"></vimeo-video>

Install

First install the NPM package:

npm install vimeo-video-element

Import in your app javascript (e.g. src/App.js):

import 'vimeo-video-element';

Optionally, you can load the script directly from a CDN using JSDelivr:

<script type="module" src="https://cdn.jsdelivr.net/npm/vimeo-video-element@1.0/+esm"></script>

This will register the custom elements with the browser so they can be used as HTML.

版本列表
1.7.2 2026-05-13
1.7.1 2026-04-08
1.7.0 2026-02-18
1.6.3 2025-12-08
1.6.2 2025-11-25
1.6.1 2025-11-10
1.6.0 2025-09-25
1.5.5 2025-08-25
1.5.4 2025-08-08
1.5.3 2025-07-16
1.5.2 2025-07-15
1.5.1 2025-06-26
1.5.0 2025-06-23
1.4.1 2025-03-14
1.4.0 2025-03-12
1.3.0 2024-12-19
1.2.0 2024-12-19
1.1.7 2024-11-06
1.1.6 2024-06-14
1.1.5 2024-05-27
1.1.4 2024-05-26
1.1.3 2024-05-24
1.1.2 2024-05-17
1.1.1 2024-05-09
1.1.0 2024-05-08
1.0.3 2024-04-21
1.0.2 2023-08-06
1.0.1 2023-04-19
1.0.0 2023-04-02
0.2.8 2023-04-02
0.2.7 2023-04-01
0.2.6 2023-02-19
0.2.3 2023-01-28
0.2.2 2023-01-28
0.2.1 2023-01-23
0.2.0 2023-01-21
0.1.2 2022-07-19
0.1.1 2022-07-16