Merge pull request #9024 from scratchfoundation/update-video-for-parents

fix: update "For Parents" video ID
This commit is contained in:
Christopher Willis-Ford 2024-12-10 07:55:36 -08:00 committed by GitHub
commit e098d5faa5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,9 @@ const render = require('../../lib/render.jsx');
require('./parents.scss');
// YouTube video ID for the embedded "What is Scratch?" video
const videoId = 'LjOfOQkpPnU';
const Landing = () => {
const isParentConfirmingChildEmail = React.useMemo(() => {
const query = window.location.search;
@ -48,7 +51,7 @@ const Landing = () => {
<iframe
allowFullScreen
frameBorder="0"
src="https://www.youtube.com/embed/jXUZaf5D12A"
src={`https://www.youtube.com/embed/${videoId}`}
/>
</div>
</FlexRow>