|
34 | 34 | import StandardDialog from '../components/dialogs/StandardDialog.svelte'; |
35 | 35 | import { clearGestures } from '../script/stores/mlStore'; |
36 | 36 | import { get } from 'svelte/store'; |
37 | | - import introVideoPlaceholderImage from '../imgs/video-placeholder.png'; |
38 | 37 |
|
39 | 38 | const playgroundSurveyUrl = |
40 | 39 | 'https://microbit.org/teach/playground-survey/exploring-machine-learning/'; |
|
79 | 78 | <h1 class="sr-only">{$t('content.index.title')}</h1> |
80 | 79 | <div class="mb-8"> |
81 | 80 | <div class="flex flex-col items-center justify-center m-10 gap-5"> |
82 | | - <!-- svelte-ignore a11y-no-noninteractive-element-interactions --> |
83 | | - <img |
84 | | - src={introVideoPlaceholderImage} |
85 | | - alt="Placeholder image for introduction video" |
86 | | - on:click={() => alert('This is just a placeholder for the final video')} |
87 | | - class="w-38rem h-auto aspect-video" |
88 | | - style="aspect-ratio: 16/9" /> |
89 | | - <!-- Once we have the final video URL |
90 | | - Avoid youtube cookie. rel=0 should limit related videos to youtube channel. |
| 81 | + <!-- Avoid youtube cookie. rel=0 should limit related videos to youtube channel. |
91 | 82 | Once we have translated videos we can try e.g. cc_lang_pref=fr |
92 | 83 | but we'll need to check our codes match theirs. |
93 | | -
|
| 84 | + --> |
94 | 85 | <iframe |
95 | 86 | class="w-38rem h-auto aspect-video" |
96 | 87 | style="aspect-ratio: 16/9" |
97 | 88 | title={$t('homepage.introVideo')} |
98 | | - src="https://www.youtube-nocookie.com/embed/u2u7UJSRuko?rel=0&cc_load_policy=1" |
| 89 | + src="https://www.youtube-nocookie.com/embed/ZhUtuuQemFc?rel=0&cc_load_policy=1" |
99 | 90 | allow="encrypted-media" |
100 | 91 | frameBorder="0" |
101 | 92 | allowFullScreen> |
102 | 93 | </iframe> |
103 | | - --> |
104 | 94 | <p> |
105 | 95 | <HtmlFormattedMessage |
106 | 96 | id="content.index.toolInfo" |
|
0 commit comments