Vertical video

skin

Portrait 9:16 players with the Campus and Feed skins.

Campus
Feed · autoplays muted in view
Big Buck Bunny © Blender Foundation, CC BY 3.0, via Wikimedia Commons. HLS test stream by Mux, DASH by Akamai.

The code

tsx
import { campus } from '@tomato-player/skin-campus';
import { feed } from '@tomato-player/skin-feed';
​
createPlayer('#reel', { src: 'reel.mp4', aspectRatio: '9 / 16', skin: campus({ autoplayInView: true }) });
createPlayer('#post', { src: 'post.mp4', aspectRatio: '9 / 16', skin: feed() }); // muted autoplay in view