Images package · video APIs
@loaders.gl/images/video
@loaders.gl/images provides an experimental browser-only loader for video data. It follows loaders.gl conventions while leaving playback and rendering decisions to the application.
The browser media path
Load media data. Let the application decide how to play it.
The module is intentionally small: it prepares browser video data for an application and does not attempt to provide a Node.js implementation or a full playback framework.
Input
Browser-supported video resources
Runtime
Browser APIs only
Loader
VideoLoader
Next step
Application-owned playback or rendering
Detailed guide
Experimental API details
The reference below covers installation, the current loader surface, browser limitations, and related media APIs.
The @loaders.gl/images module provides browser video loading and GIF encoding through VideoLoader and GIFBuilder.
Video support is still experimental, and does not work in Node.js.
Installation
npm install @loaders.gl/images
npm install @loaders.gl/core
API
| Loader | Description |
|---|---|
VideoLoader |
Sources and credits
See the package source and license inventory and the project-wide Attributions and Credits.
Imports
import {load} from '@loaders.gl/core';
import {VideoLoader} from '@loaders.gl/images';
import GIFBuilder from '@loaders.gl/images/image';
VideoLoader is metadata-only and preloads its browser implementation through
async core APIs. Direct parser access is VideoLoaderWithParser from
@loaders.gl/images/video. GIF building remains a browser-only direct
entry point. Neither API is pulled into the image root implementation eagerly.