Demo
react-ambilight 1.x API
The compatibility package running on the new implementation.
Install
npm install react-ambilightUnchanged 1.x usage
import { VideoAmbilight } from 'react-ambilight'
import 'react-ambilight/dist/style.css' // still resolves; now empty
export const metadata = {
title: 'react-ambilight 1.x API',
alternates: { canonical: '/legacy' },
}
<VideoAmbilight videoId="I5QDO6BsWnU" />Migration
react-ambilight@2 is a thin wrapper over @videoglow/react-youtube. See docs/architecture/migration.md for the mapping of props and types.