@wistia/wistia-player
TypeScript icon, indicating that this package has built-in type declarations

0.0.25 • Public • Published

⚠️ Note: This package is in active development. Updates may unexpectedly introduce breaking changes. Use in production at your own risk.

🚧 Note: The React Wrapper has been removed from this package. To use the new React Wrapper, please use @wistia/wistia-player-react.

Wistia Player Web Component

<wistia-player> is Wistia's embeddable web component which can be used to add responsive, lightweight, and SEO-friendly videos to your site.

Getting started

npm install @wistia/wistia-player

Simple player

The only required attribute is media-id, the ID of the media that will be embedded.

import '@wistia/wistia-player';

<wistia-player media-id="abc123"></wistia-player>;

Player with embed options

import '@wistia/wistia-player';

<wistia-player media-id="abc123" player-color="1e64f0"></wistia-player>;

Package Sidebar

Install

npm i @wistia/wistia-player

Weekly Downloads

10,295

Version

0.0.25

License

UNLICENSED

Unpacked Size

4.47 MB

Total Files

64

Last publish

Collaborators

  • wistia_engineering
  • okize