From c9b67fd5205d3ebb366d19afbb4ab6ed47211540 Mon Sep 17 00:00:00 2001 From: Robert Skinner Date: Sun, 4 Aug 2024 14:20:47 -0400 Subject: [PATCH] revert embed, try removing nocookie host --- src/components/Player.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: {},