
Description
ts-video-player is a framework-agnostic video player written in TypeScript. It plays plain HTML5 video as well as YouTube, Vimeo, HLS and DASH streams, and for adaptive streams it switches quality automatically through HLS.js and dash.js. The player has controls for play and pause, volume, progress, fullscreen and picture-in-picture, with built-in themes named Netflix, YouTube, Vimeo and minimal, and support for custom themes. It supports captions, chapters and seek previews, which use VTT files and sprite sheets, plus AirPlay and Google Cast, and DVR controls with a live indicator for live streams. Optional plugins add analytics through ts-analytics, VAST and VPAID ads, skipping of intro, outro, recap, credit and sponsor segments, end screens, and static or dynamic watermarks. The README highlights full keyboard navigation and screen reader support. It also includes a native @video directive for stx templates.…
Highlights
- HTML5, YouTube, Vimeo, HLS and DASH playback
- Automatic quality switching for adaptive streams
- Captions, chapters and seek thumbnails
- Plugins for ads, analytics and skip segments
- Built-in themes and six languages
Ratings & Reviews
No ratings yet
Be the first to rate ts-video-player.
People also visit
ts-video-player FAQ
What video sources can it play?
HTML5 video, YouTube, Vimeo, HLS streams and DASH streams. The README has an example for each provider.
Does it work with any framework?
The project calls itself framework-agnostic. It also has an stx integration, with a native @video directive for stx templates.
What plugins are available?
Analytics through ts-analytics, ads in VAST and VPAID formats, skip segments for intros, outros, recaps, credits and sponsors, end screens, and static or dynamic watermarks.
Is the player accessible?
The README says it has full keyboard navigation and screen reader support.
How do I install it?
The README has an installation section and a quick start example that shows how to create a player.
What are the best ts-video-player alternatives?
Popular alternatives to ts-video-player include react-player, videocn and Vidstack. See all ts-video-player alternatives



