Currently, the screenshots are read from the screenshots folder of each project. Some projects also have videos available and we need to integrate them into the existing screenshots scheme.
The videos are then embedded inside the gallery and inserted before any other screenshots in the order provided in the .yaml file. If the youtube.com or youtu.be prefix is detected, then the youtube-specific iframe is added (cookies confirmation?). Otherwise, the video is shown as the <video> tag.
Currently, the screenshots are read from the
screenshots
folder of each project. Some projects also have videos available and we need to integrate them into the existing screenshots scheme.I suggest an interface similar to https://taikai.network/cryptocanal/hackathons/ethdam2024/projects/cluz0xnnj013uz301nfa9uj4g. In the project .yaml files we should add the following syntax:
The videos are then embedded inside the gallery and inserted before any other screenshots in the order provided in the .yaml file. If the
youtube.com
oryoutu.be
prefix is detected, then the youtube-specific iframe is added (cookies confirmation?). Otherwise, the video is shown as the<video>
tag.