Skip to content

Commit fe8453d

Browse files
author
Philipp
committed
Readme: Warning for Vue-Cli
1 parent 90dcfb8 commit fe8453d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
**If you are looking to play videos in the background, you have found the best Vue package for it 😜 (Currently no YouTube videos)**
1616

17-
>***Prerequisites**: Vue 2.x.x
17+
>**Prerequisites**: Vue 2.x.x
1818
1919
## Installation in 2 Steps
2020

@@ -99,10 +99,15 @@ This package is for responsive videos depicting different video resolution. Have
9999

100100
This is your path to your video. You can just use this value for showing your video in every resolution.
101101

102+
>⚠️**Warning** for [Vue CLI](https://cli.vuejs.org/guide/creating-a-project.html): You need to bind the source like this: `:src="require(`@/assets/video/timelapse.mp4`)"`. [Read here why](https://github.com/avidofood/vue-responsive-video-background-player/issues/10#issuecomment-646959090)
103+
104+
102105
- `poster` (default: `''`)
103106

104107
This is your first background image that is shown before the video is loaded.
105108

109+
>⚠️**Warning** for [Vue CLI](https://cli.vuejs.org/guide/creating-a-project.html): You need to bind the source like this: `:src="require(`@/assets/img/logo.png`)"`. [Read here why](https://github.com/avidofood/vue-responsive-video-background-player/issues/10#issuecomment-646959090)
110+
106111
- `sources` (default: `[]`)
107112

108113
This is the main reason for this package. I wanted to have the possibility to change the resolution of the video when the resize event is fired.

0 commit comments

Comments
 (0)