Skip to content

Commit

Permalink
fix: use id instead of hard-coded value
Browse files Browse the repository at this point in the history
Thumbnail doesn't use the id of the video, but use hard-coded value instead
  • Loading branch information
yurigo authored and andrewvasilchuk committed Mar 22, 2020
1 parent e577681 commit e88f7ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VueLazyYoutubeVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
>
<img
class="y-video__media"
src="https://i.ytimg.com/vi/4JS70KB9GS0/maxresdefault.jpg"
src="`https://i.ytimg.com/vi/${id}/maxresdefault.jpg`"
:alt="alt"
>
</picture>
Expand Down

0 comments on commit e88f7ca

Please sign in to comment.