@vizor-vr/react
v0.2.1
Published
React wrappers for Vizor VR Player
Maintainers
Readme
@vizor-vr/react
React wrappers for the Vizor VR player. Type-safe components with native event props.
Install
npm install @vizor-vr/react @vizor-vr/playerUsage
import { VzVideo } from '@vizor-vr/react';
export function Player() {
return (
<VzVideo
src="video.mp4"
format="MONO_360"
autoplay
onReady={() => console.log('ready')}
/>
);
}The wrappers import and register the underlying custom elements for you. Components are client-only — in Next.js App Router or other RSC setups, render them from a Client Component ('use client').
Components
VzVideo, VzImg, VzTour, VzCinema, VzLive, VzPlaylist, VzAnnotation, VzCaption.
Security
See the monorepo security policy for how to report vulnerabilities ([email protected]).
License
MIT — see LICENSE.
