Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation for Vue #1528

Open
arttsai opened this issue Dec 4, 2024 · 0 comments
Open

Installation for Vue #1528

arttsai opened this issue Dec 4, 2024 · 0 comments
Labels
docs Improvements or additions to documentation

Comments

@arttsai
Copy link

arttsai commented Dec 4, 2024

URL: https://vidstack.io/docs/player/getting-started/installation/vue/?bundler=nuxt&provider=video&styling=tailwind-css

Describe:

I installed Vidstack Player according to this document but what I got is a black screen for .

After some testing and comparing, I found the document is lack of a statement.

Before:

<template>
  <media-player .title="Sprite Fight" .src="https://files.vidstack.io/sprite-fight/720p.mp4">
    <ClientOnly>
      <media-provider></media-provider>
    </ClientOnly>
  </media-player>
</template>

Sould be:

<template>
    <media-player 
        title="Sprite Fight" 
        src="https://files.vidstack.io/sprite-fight/720p.mp4"
    >
        <media-provider></media-provider>
        <media-video-layout thumbnails="https://files.vidstack.io/sprite-fight/thumbnails.vtt"  />
    </media-player>
</template>

hope this helps.

@arttsai arttsai added the docs Improvements or additions to documentation label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant