@gallerist/plugin-video-youtube
v0.5.2
Published
Gallerist plugin — YouTube IFrame API media adapter (split provider sub-plugin).
Maintainers
Readme
@gallerist/plugin-video-youtube
Gallerist plugin — YouTube IFrame API media adapter (split provider sub-plugin).
Part of Gallerist — a headless, framework-agnostic media viewer for grouped / nested galleries with image-space overlays and virtualized rendering.
Install
npm i @gallerist/plugin-video-youtubeUsage
Tree-shakeable Gallerist plugin. Register it when you create the viewer:
import { createViewer } from '@gallerist/core'
// import the plugin's factory from this package and pass it to `plugins`
const viewer = createViewer({ items, plugins: [/* plugin() */] })See Plugin authoring.
Full docs: the monorepo README and docs/.
License
MIT © Shafayet Ahmmed
