New Tiers availableMore feature, Up to 10 Million AI-Tokens for free

Read blog post

Let your audience experience media on your site.

Embed audio and video in your React application and adapt playback to your layout. The modular Fairu Player provides TypeScript components for audio, video and HLS streaming.

React Media Player

Everything You Need for Modern Media Playback

01 / 06

HLS Streaming

Adaptive bitrate streaming with HLS support. Automatically adjusts quality based on network conditions.

02 / 06

Audio & Video Support

Use the same player for audio and video, including podcasts, music and video streaming.

03 / 06

Podcast Chapters

Organize longer episodes with timestamps, chapter titles and optional artwork so your audience can navigate to a section.

04 / 06

Subtitles & Captions

Full WebVTT subtitle support with multiple tracks, styling options, and accessibility features.

05 / 06

Playlist Management

Built-in playlist management with queue, shuffle, and repeat modes. Create seamless listening experiences.

06 / 06

Ad Integration (VAST)

Built-in VAST/VPAID support for pre-roll, mid-roll, and post-roll ads. Monetize your content with industry-standard ad formats.

Quick Setup

Up and Running in Minutes

Get started with just a few lines of code. The player integrates seamlessly with any React application.

  1. 01 / 03

    Install via npm

    npm install @fairu/player
  2. 02 / 03

    Import the components

    import { AudioPlayer, VideoPlayer } from '@fairu/player';
    import '@fairu/player/styles.css';
  3. 03 / 03

    Start playing

    <AudioPlayer src="https://example.com/podcast.mp3" />
    <VideoPlayer src="https://example.com/video.mp4" />
Code Examples

Simple, Powerful Components

Use familiar React patterns to build audio and video experiences with full control over playback.

Audio Player with Chapters
<AudioPlayer
  src="https://example.com/podcast.mp3"
  title="Episode 1: Getting Started"
  artwork="/cover.jpg"
/>
Video Player with Captions
<VideoPlayer
  src="https://example.com/video.mp4"
  poster="/thumbnail.jpg"
  captions={[{ src: '/en.vtt', label: 'English', lang: 'en' }]}
/>
HLS Streaming
<VideoPlayer
  src="https://stream.fairu.app/video/playlist.m3u8"
  hlsConfig={{ enableWorker: true, lowLatencyMode: true }}
/>
FAQ

Questions about the player

Bring media into your application.

Install @fairu/player and test playback with your content. Explore the components in Storybook.