avidofood / vue-responsive-video-background-player

Play your own videos in background responsively in different resolutions.
https://avidofood.github.io/vue-responsive-video-background-player/
MIT License
292 stars 36 forks source link

How to bind source? #15

Closed baermathias closed 4 years ago

baermathias commented 4 years ago

Whats the right way to bind the source? In contrast to the description within the readme file, only 3. works for me.

  1. src="@/static/video.mp4"
  2. src="../../static/video.mp4"
  3. :src="require('@/static/video.mp4')"
pmochine commented 4 years ago

@baermathias Hey :) Thanks for the issue. I have updated the readme file, so it is clearer. Read here for more or move the assets to the public folder (see here)