Implement YH4F videobox #4773
Reference in New Issue
Block a user
Delete Branch "sofiaritz/fsfe-website:yh4f-video-thingy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implemented using PeerTube iframes because now you can disable P2P for iframes [1].
The
talkselement is only added to the English page because the talks are in English.If YH4F talks are carried out in other languages, it should be as simple as creating a
talks.[lang].xmlfile with the links and adding thetalkselement to the respective page. From a GDPR perspective, as long as the talks are hosted in the FSFE's PeerTube and thep2poption is set to0, there shouldn't be any problems.[1] https://docs.joinpeertube.org/api/embed-player#p2p
3799836fcfto9bb0a648191ffd726887toace536fccdWIP: Implement YH4F videoboxto Implement YH4F videoboxFirst, thanks a lot for your work. On a first glance, this looks kinda nice and I really appreciate the PeerTube integration!
While this is generally true, our PeerTube instance has the P2P feature disabled by default, following the upstream privacy guide.
You can verify this by opening a video - either via an iframe link or from the PeerTube webpage - and taking a look at the bottom-right corner, showing HLS. Only after opening the PeerTube webpage, clicking the settings gear icon in the top-right corner next to Login, selecting "Help share videos being played", saving and reloading, the P2P feature will be enabled, as one can see on a video, showing up- and downstream information instead of HLS.
But just in case, please keep the
p2p=0GET parameter.Thanks again and please feel free to either ping me when you are working on something PeerTube related or create issues over there.
b9ecf7c83eto9b0a825d2f9b0a825d2ftob3d201560eThis looks really good, thank you very much @sofiaritz, I also like how much attention you paid to the GDPR!
As you already did but just to have this officially written somewhere: I would also not include our German talks in this picturebox, as they might not be of much use to the audience. However, maybe we should link to a playlist with all talks on peertube so that people can also access them if they want to. For example to this one: https://media.fsfe.org/my-library/video-playlists/1F94VHv78iGrV1oou5eebU
@@ -0,0 +10,4 @@</talk><talk><title>LUGA 2023: Youth Hacking 4 Freedom - Hacking competition for teenagers from Europe</title>This talk is in German -> following my comment I would remove it.
@@ -96,6 +96,8 @@ We have an international <a href="/activities/yh4f/jury.html">jury</a>, with lumeducative and exciting days in Brussels and socialise with fellow winners.</p><talks/>could we move it just above "Decide yourself what you code"
I am open to discuss this.
@@ -16,0 +25,4 @@}#yh4f-iframe {position: absolute;I might be absolutely wrong here! How does this work out on mobile end-devices, like Smartphones? Or is there now effect?
That's from the default embedding style from PeerTube, it works just fine on smartphones (tested with the Firefox DevTools). No major effects removing it, I would keep it
f65c276baato468cfb775d468cfb775dto862761f482Looks good from my side