You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
15
15
**If you are looking to play videos in the background, you have found the best Vue package for it 😜 (Currently no YouTube videos)**
16
16
17
-
>***Prerequisites**: Vue 2.x.x
17
+
>**Prerequisites**: Vue 2.x.x
18
18
19
19
## Installation in 2 Steps
20
20
@@ -99,10 +99,15 @@ This package is for responsive videos depicting different video resolution. Have
99
99
100
100
This is your path to your video. You can just use this value for showing your video in every resolution.
101
101
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
+
102
105
-`poster` (default: `''`)
103
106
104
107
This is your first background image that is shown before the video is loaded.
105
108
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
+
106
111
-`sources` (default: `[]`)
107
112
108
113
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