vime-js / vime

Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
https://vimejs.com
MIT License
2.77k stars 152 forks source link

vue3 video black screen #281

Closed JonasLang-dev closed 2 years ago

JonasLang-dev commented 2 years ago
<template>
  <Player>
    <Video>
      <source data-src="/test2.mp4" type="video/mp4" />
    </Video>
    <DefaultUi />
  </Player>
</template>

<script >
import { Player, Video, DefaultUi } from "@vime/vue-next";
import "@vime/core/themes/default.css";

export default {
  name: "App",
  components: {
    Player,
    Video,
    DefaultUi,
  },
};
</script>

Why playing a video using the vime .js video component will have a black screen?