diff --git a/src/components/Player.js b/src/components/Player.js index 353d3ce..e516301 100644 --- a/src/components/Player.js +++ b/src/components/Player.js @@ -20,7 +20,7 @@ function Player(props) { `https://www.youtube.com/embed/${v.video_id}`)} + url={props.videos.map(v => `https://www.youtube.com/watch?v=${v.video_id}`)} controls={true} loop={props.repeatVideo} playing={true} @@ -31,7 +31,7 @@ function Player(props) { youtube: { playerVars: {}, embedOptions: { - host: "https://www.youtube-nocookie.com", + // host: "https://www.youtube-nocookie.com", } }, attributes: {},