Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
d206b44a
Commit
d206b44a
authored
Dec 05, 2018
by
Eric Rosenbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add video player to wedo page
parent
40795d1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
+25
-4
src/components/extension-landing/extension-landing.scss
src/components/extension-landing/extension-landing.scss
+7
-0
src/views/wedo2/wedo2.jsx
src/views/wedo2/wedo2.jsx
+18
-4
No files found.
src/components/extension-landing/extension-landing.scss
View file @
d206b44a
...
...
@@ -114,6 +114,13 @@
color
:
$ui-white
;
}
}
.video-player
{
height
:
180px
;
border
:
2px
solid
$ui-border
;
border-radius
:
10px
;
overflow
:
hidden
;
}
}
.extension-image
{
...
...
src/views/wedo2/wedo2.jsx
View file @
d206b44a
...
...
@@ -51,10 +51,24 @@ class Wedo2 extends ExtensionLanding {
/>
</
FlexRow
>
}
renderImage=
{
<
img
alt=
{
this
.
props
.
intl
.
formatMessage
({
id
:
'
wedo2.imgAltWeDoIllustration
'
})
}
src=
"/images/wedo2/wedo2-illustration.png"
/>
}
renderImage=
{
<
div
className=
"video-player"
>
<
iframe
allowFullScreen
allowTransparency=
"true"
frameBorder=
"0"
height=
"180"
scrolling=
"no"
src=
{
`https://fast.wistia.net/embed/iframe/4im7iizv47?seo=false&videoFoam=true`
}
title=
"📹"
width=
"320"
/>
<
script
async
src=
"https://fast.wistia.net/assets/external/E-v1.js"
/>
</
div
>
}
renderRequirements=
{
<
ExtensionRequirements
>
<
span
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment