Skip to content

Commit

Permalink
fix iframe arguments, take 2
Browse files Browse the repository at this point in the history
Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
  • Loading branch information
xaiki committed May 17, 2018
1 parent 53a5b59 commit 00339e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Identity = a => a
const Player = ({id, goBack = {action: Identity, title: "Go Back"}}) => (
<div>
<Navbar type='player-nav' goBack={goBack}/>
<iframe width="100%" height="100%" src={`https://www.youtube.com/embed/${id}?rel=0&autoplay=1`} frameborder="0" allow="autoplay; encrypted-media" allowFullScreen></iframe>
<iframe width="100%" height="100%" src={`https://www.youtube.com/embed/${id}?rel=0&autoplay=1`} frameBorder="0" allow="autoplay; encrypted-media" allowFullScreen></iframe>
</div>
)

Expand Down

0 comments on commit 00339e3

Please sign in to comment.