-
Notifications
You must be signed in to change notification settings - Fork 919
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add fan art video for Firefox 20th landing page (#15467)
- Loading branch information
Showing
2 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
bedrock/firefox/templates/firefox/firefox-20th/video-fanart.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{# | ||
This Source Code Form is subject to the terms of the Mozilla Public | ||
License, v. 2.0. If a copy of the MPL was not distributed with this | ||
file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
#} | ||
|
||
{% from "macros.html" import video_inline_embed with context %} | ||
|
||
{% if LANG == "fr" %} | ||
{% set video_title = 'Firefox a 20 ans - Célébrez avec nous' %} | ||
{% elif LANG == "de" %} | ||
{% set video_title = 'Firefox wird 20 - Feiere mit uns' %} | ||
{% else %} | ||
{% set video_title = 'Firefox Turns 20 - Celebrate with Us' %} | ||
{% endif %} | ||
|
||
{{ video_inline_embed( | ||
id='SiLWHYrZyRc', | ||
title=video_title, | ||
image=resp_img( | ||
url='img/firefox/firefox-20th/fan-art.png', | ||
srcset={ | ||
'img/firefox/firefox-20th/fan-art-high-res.png': '2x' | ||
}, | ||
optional_attributes={ | ||
'width': '800', | ||
'height': '450', | ||
'alt': '', | ||
} | ||
), | ||
) }} |