Vidtreo

Introduction

Lightweight video player web component for playing VIDTREO-recorded videos. Embed videos with just a few lines of code.

VIDTREO Player SDK

Professional video playback for the web. VIDTREO Player provides a lightweight, customizable video player component that works with any framework or vanilla HTML.

VIDTREO Player uses ArtPlayer for video playback, providing a modern, feature-rich player experience with minimal setup.

Why VIDTREO Player?

  • Framework-Agnostic — Works with React, Vue, Angular, Svelte, or plain HTML
  • Lightweight — ~42KB gzipped, includes ArtPlayer library
  • Feature-Rich — Screenshot, picture-in-picture, fullscreen, settings panel
  • Customizable — Theme colors, control visibility, and more
  • Easy Integration — Single web component, no build step required

Quick Example

<script type="module" src="https://cdn.jsdelivr.net/npm/@vidtreo/player-wc@latest/dist/vidtreo-player.js"></script>

<vidtreo-player
  video-id="your-video-id"
  api-key="your-api-key"
></vidtreo-player>

Get Started

Features at a Glance

FeatureDescription
Video PlaybackStandard play/pause, seek, volume controls
ScreenshotCapture the current video frame
Picture-in-PicturePlay videos in a floating window
FullscreenWeb and native fullscreen support
Settings PanelPlayback speed, aspect ratio, video flip
Theme CustomizationCustomize player colors to match your brand
Event HandlingListen to player-ready and error events

Browser Support

VIDTREO Player requires modern browsers with Web Components support:

BrowserMinimum Version
Chrome94+
Edge94+
Firefox130+
Safari16.4+
Opera80+

The component must be served over HTTPS (or localhost) for proper operation.

Package Information

PackageDescriptionSize
@vidtreo/player-wcWeb Component player~42KB (gzipped)

On this page