Skip to content

Commit

Permalink
fixed video whoo
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinnewman committed Oct 24, 2019
1 parent 396376d commit 5e8c617
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/CustomVideo.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import * as React from 'react';
import { Video } from '@dailybruin/lux';
import ReactPlayer from 'react-player'

export interface VideoProps {
/** The id of the YouTube video. */
videoId: string
}

export default function CustomVideo(props: VideoProps) {
console.log("Video " + props.videoId)
return <div style={{
margin: "0px 0px 25px 0px",
}}>
<Video videoId={props.videoId} />
<ReactPlayer width="100%" url={`https://youtube.com/watch?v=${props.videoId}`} />
</div>

}

0 comments on commit 5e8c617

Please sign in to comment.