Build your player

Pick a skin, a source, an accent and plugins. The player rebuilds live and the code updates to match, ready to paste.

Big Buck Bunny © Blender Foundation, CC BY 3.0, via Wikimedia Commons. HLS test stream by Mux, DASH by Akamai.
player.ts — ts
import { createPlayer } from '@tomato-player/core';
import { minimal } from '@tomato-player/skin-minimal';
​
import { hotkeys } from '@tomato-player/plugin-hotkeys';
import { gestures } from '@tomato-player/plugin-gestures';
import { chapters } from '@tomato-player/plugin-chapters';
import { analytics } from '@tomato-player/plugin-analytics';
​
createPlayer('#player', {
src: 'movie.webm',
​
skin: minimal(),
​
plugins: [hotkeys(), gestures(), chapters(), analytics()],
});
Source
Accent
Plugins
Event log0 events
Press play to see events.