Basic video player component for svelte
The Svelte Video Player is a basic video player component for Svelte, Sapper, and legacy apps. It comes with tabbable controls that respond to key presses, such as enter, space, and arrows. This player also supports pausing previously playing video player instances when a new player is started. While fullscreen functionality is disabled on iPhone, it functions smoothly on both desktop and mobile browsers.
To install the Svelte Video Player, follow these steps:
npm install svelte-video-player
import VideoPlayer from "svelte-video-player";
<VideoPlayer source="video.mp4" controlsHeight="55px" color="#FF3E00" />
The Svelte Video Player is a versatile video player component for Svelte, Sapper, and legacy apps. It provides tabbable controls that respond to key presses and supports pausing previously playing instances when a new player is started. While fullscreen functionality is disabled on iPhone, it functions smoothly on both desktop and mobile browsers. The installation process is straightforward, making it easy to integrate into your Svelte projects.