Skip to content

Commit

Permalink
Show language specific embedded video on home page.
Browse files Browse the repository at this point in the history
  • Loading branch information
moll committed Oct 26, 2017
1 parent 0f2f02b commit 45f3394
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
},

"videoUrls": {
"et": "https://www.youtube.com/watch?v=za230fHP6pg",
"en": "https://www.youtube.com/watch?v=27lN6HmwuY4",
"ru": "https://www.youtube.com/watch?v=3tZpKl-ICjQ"
"et": "https://www.youtube.com/embed/za230fHP6pg",
"en": "https://www.youtube.com/embed/27lN6HmwuY4",
"ru": "https://www.youtube.com/embed/3tZpKl-ICjQ"
},

"partners": {
Expand Down
2 changes: 1 addition & 1 deletion views/home/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ block body
iframe(
width="480",
height="270",
src="https://www.youtube.com/embed/za230fHP6pg",
src=Config.videoUrls[req.lang],
frameborder="0",
allowfullscreen)

Expand Down

0 comments on commit 45f3394

Please sign in to comment.