Plugins & Integrations

React.js component

If you build a single-page app, website or other project with React, you can use one of our open-source React components to add a TargetVideo player to it.

There are three components:

Player component (react-brid-player)
Supports a single video and all types of playlists, including dynamic ones (by tag and latest videos).
react-brid-player on Bitbucket.

Outstream component (react-brid-outstream-player)
Supports in-content and in-slide units.
react-brid-outstream-player on Bitbucket.

Playlist widget component (react-brid-widget)
Supports all types of playlist widgets, including dynamic playlists.
react-brid-widget on Bitbucket.

Each repository’s README lists the component’s props and event hooks. To use a component, copy the component file and its helper folders from the repository’s src folder into your project. Don’t install it from npm: react-brid-outstream-player isn’t published there, and the react-brid-player and react-brid-widget packages don’t include a working entry file, so importing them fails.

The code is fully open source, and pull requests are welcome.

React.js component · TargetVideo Developer Docs