@vizor-vr/vue
v0.2.1
Published
Vue 3 wrappers for Vizor VR Player
Maintainers
Readme
@vizor-vr/vue
Vue 3 wrappers for the Vizor VR player. Type-safe components with native event emits.
Install
npm install @vizor-vr/vue @vizor-vr/playerUsage
<script setup lang="ts">
import { VzVideo } from '@vizor-vr/vue';
</script>
<template>
<VzVideo src="video.mp4" format="MONO_360" autoplay @ready="onReady" />
</template>The wrappers import and register the underlying custom elements for you. They are client-only — under Nuxt/SSR, render inside <ClientOnly> (or a client-only component) since the player requires the browser DOM.
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.
