Implement YH4F videobox #4773
No reviewers
Labels
No Label
bug
build
cgi Scripting
design
disruptive
documentation
duplicate
easy
feature-request
help wanted
javascript
priority/low
question
system-hackers
tagging
text
translations
wait/bugfix
wait/inprogress
wait/misc
wait/proofread
wontfix
xsl
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: FSFE/fsfe-website#4773
Loading…
Reference in New Issue
Block a user
No description provided.
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
talks
element 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].xml
file with the links and adding thetalks
element to the respective page. From a GDPR perspective, as long as the talks are hosted in the FSFE's PeerTube and thep2p
option is set to0
, there shouldn't be any problems.[1] https://docs.joinpeertube.org/api/embed-player#p2p
3799836fcf
to9bb0a64819
1ffd726887
toace536fccd
WIP: 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=0
GET parameter.Thanks again and please feel free to either ping me when you are working on something PeerTube related or create issues over there.
b9ecf7c83e
to9b0a825d2f
9b0a825d2f
tob3d201560e
This 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 lum
educative 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
f65c276baa
to468cfb775d
468cfb775d
to862761f482
Looks good from my side