Commit 4ef6b22b authored by Connor Hudson's avatar Connor Hudson Committed by GitHub

Merge pull request #638 from technoboy10/fix-youtube

Fix #633, #634, and #635: Embedded player fixes
parents 1045e621 088eb7cc
...@@ -25,8 +25,10 @@ var Landing = injectIntl(React.createClass({ ...@@ -25,8 +25,10 @@ var Landing = injectIntl(React.createClass({
<p className="intro"> <p className="intro">
<FormattedMessage id="teacherlanding.intro" /> <FormattedMessage id="teacherlanding.intro" />
</p> </p>
<iframe src="https://www.youtube.com/embed/uPSuG063jhA" <div className="ted-talk">
frameborder="0" allowfullscreen></iframe> <iframe src="https://www.youtube.com/embed/uPSuG063jhA?border=0&wmode=transparent"
frameBorder="0" allowFullScreen></iframe>
</div>
</FlexRow> </FlexRow>
</div> </div>
<div className="band"> <div className="band">
......
...@@ -48,12 +48,23 @@ $story-width: $cols3; ...@@ -48,12 +48,23 @@ $story-width: $cols3;
color: $ui-white; color: $ui-white;
} }
} }
}
.ted-talk {
position: relative;
z-index: 10;
margin-bottom: $gutter;
border: 2px solid $ui-border;
border-radius: 10px;
width: $cols4;
height: $cols4 * .5625;
overflow: hidden;
iframe { iframe {
margin-bottom: $gutter; z-index: 9;
border: 2px solid $ui-border; border: 0;
border-radius: 10px; width: inherit;
width: $cols4; height: inherit;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment