wistia-video-element

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

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

<wistia-video>

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

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

Example (CodeSandbox)

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

Installing

First install the NPM package:

npm install wistia-video-element

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

import 'wistia-video-element';

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

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

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

版本列表
1.4.0 2026-05-06
1.3.6 2025-11-25
1.3.5 2025-11-10
1.3.4 2025-08-08
1.3.3 2025-07-15
1.3.2 2025-06-26
1.3.1 2025-03-12
1.3.0 2024-12-19
1.2.0 2024-12-19
1.1.7 2024-06-14
1.1.6 2024-06-07
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.9 2024-04-21
1.0.8 2023-04-19
1.0.7 2023-04-09
1.0.6 2023-04-09
1.0.5 2023-04-09
1.0.4 2023-04-08
1.0.3 2023-04-08
1.0.2 2023-04-08
1.0.1 2023-04-02
1.0.0 2023-04-02
0.3.1 2023-04-02
0.3.0 2023-04-01
0.2.0 2023-01-21
0.1.3 2022-07-03
0.1.2 2022-06-18
0.1.1 2022-06-07
0.1.0 2022-06-07
0.0.4 2022-04-09
0.0.3 2022-03-07
0.0.2 2022-03-07
0.0.1 2022-03-07