-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlecture.js
More file actions
54 lines (43 loc) · 8.43 KB
/
lecture.js
File metadata and controls
54 lines (43 loc) · 8.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
function showTutorial(subject) {
let tutorialContent = document.getElementById('tutorial-content');
document.getElementById('tutorials').style.display = 'block';
tutorialContent.innerHTML = '';
if (subject === 'Physics') {
tutorialContent.innerHTML = `
<h3>Physics Tutorials</h3>
<div class="playlist" style="display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px;">
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=hCSm5Nr9XonLwo0A&list=PL9tzqmHNezzDzB7DiCwyEYpBJYCSUCuzc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=BDuGqW_ImAcL9RuZ&list=PL6FMc32aLAdVl6fY-LfBhQQFnoTaVN4y3" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=4QQETV6n9CaPDquj&list=PLxyGaR3hEy3ieFuXAdtlenRNcey9Cxo6I" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=qiCSs-qQ8LNLAAVi&list=PL_A4M5IAkMae_Hntw2myU3dHQ417zcxn6" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=_fg77Ns6CHjuRzv3&list=PLktE8rb6pVnh767SaJurJxI9BaRAqzEgt" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>`;
} else if (subject === 'Chemistry') {
tutorialContent.innerHTML = `
<h3>Chemistry Tutorials</h3>
<div class="playlist" style="display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px;">
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=Uu5Qyzccm2lSS_XB&list=PLl_8nXmf6wa_tWMsweFttTuQ2JF2Wa-lD" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=Z9dnqLMHvYiaaby4&list=PLl_8nXmf6wa_LGG7jzZ5EreUUT-nDBWZk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=XmVss4KkM7pE0l8o&list=PLl_8nXmf6wa9go9iT7pyTBzP_3ChheHbW" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=zHldtkdT_UAxIHrV&list=PLxyGaR3hEy3j2W2MD1owL7GU_-fjS7lTI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=6OnSiIKQVll7zlxc&list=PLxyGaR3hEy3gmAAC3q7jH4W6QMrBsmyzk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=p8uTg91Sw2-wRZOx&list=PLxyGaR3hEy3gO-zK_UUuhutbmf8sjIE1W" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=X27IpgXzDBTXaYP4&list=PLak8qUJu3BUW7Gc_yVBGds9LAu2iKaQ8G" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=xTpf23rfIkgU1brx&list=PLqSU78XQTtlTKUVjg3ulOzcKIuGIB9QxL" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=xPz4_KfLIpsN1s9W&list=PLktE8rb6pVngS1HQGQMgfdPmwkDZSWIcx" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>
`;
} else if (subject === 'Mathematics') {
tutorialContent.innerHTML = `
<h3>Mathematics Tutorials</h3>
<div class="playlist" style="display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px;">
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=pT2DMo_k7Z39TIz3&list=PLTa2m6WeLW__zL1AoV8uEG13xiQMj2RU8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=JTJoD0qwZwepVzPM&list=PLTa2m6WeLW_9Y10X7YJGR9A0j1RCMfPEr" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=Vi98QyK0kUt4iYzQ&list=PLxyGaR3hEy3hMp_J9qFG7KYLFOmhkp4-C" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=ZT-WhvDS50qWjN4i&list=PLxyGaR3hEy3gk_Li5kx4pJ7TSOYE2EQPQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/videoseries?si=01DpWZ8OM6rjXDzS&list=PLnG6YW15b0oROKNSFhi6GIzGaRtIe0yFD" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="220" height="158" src="https://www.youtube.com/embed/j6NBRQ_FrNE?si=AfxtELRpz87bcgA4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>
`;
}
}