Skip to content

Commit

Permalink
Updated HomeYoutube embed link
Browse files Browse the repository at this point in the history
  • Loading branch information
jaARke committed Nov 29, 2022
1 parent bdc0963 commit 032af51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion client/.env_sample
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
REACT_APP_YOUTUBE_API_KEY=REACT_APP_YOUTUBE_API_KEY_HERE
REACT_APP_HOME_VIDEO_EMBED_ID=REACT_APP_HOME_VIDEO_EMBED_ID_HERE
REACT_APP_PASSWORD=ADMIN_PASSWORD_HERE
5 changes: 3 additions & 2 deletions client/src/features/HomeYoutube.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const HomeYoutube = ({ embedId }) => (
<iframe
width="3000"
height="800"
src={`https://www.youtube.com/embed/${embedId}?&autoplay=1&rel=0&controls=0`}
src="https://www.youtube.com/embed/BYmwoJtjghs?autoplay=1"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; gyroscope; picture-in-picture"
allowFullScreen
Expand All @@ -18,4 +18,5 @@ const HomeYoutube = ({ embedId }) => (
HomeYoutube.propTypes = {
embedId: PropTypes.string.isRequired,
};
export default HomeYoutube;

export default HomeYoutube;

0 comments on commit 032af51

Please sign in to comment.