From 13a7afb537c486c88da7b68b379d38b9b4b6b02f Mon Sep 17 00:00:00 2001 From: Olivier Goulet <olivier.goulet@eclipse-foundation.org> Date: Thu, 20 Jul 2023 14:12:30 -0400 Subject: [PATCH] Hide tutorials and put placeholder video --- data/tutorials.yml | 8 +------- js/main.js | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/data/tutorials.yml b/data/tutorials.yml index d4e8b9f..2d8be81 100644 --- a/data/tutorials.yml +++ b/data/tutorials.yml @@ -1,7 +1 @@ -items: - - title: Tutorial 1 Title - description: Short description of tutorial - link: '#' - - title: Tutorial 2 Title - description: Short description of tutorial - link: '#' +items: [] diff --git a/js/main.js b/js/main.js index 8f8cb96..85c4539 100644 --- a/js/main.js +++ b/js/main.js @@ -19,7 +19,7 @@ const renderTutorialPlaylist = async () => { if (!tutorialContainerElement) return; try { - const response = await fetch('https://api.eclipse.org/media/youtube/playlists/PLy7t4z5SYNaRoQ4o40i6zfD0ZuoenX7ph'); + const response = await fetch('https://api.eclipse.org/media/youtube/videos/q458r3cPwsE'); const playlist = await response.json(); tutorialContainerElement.innerHTML = playlist.player.embed_html; -- GitLab