Thanks so much for your quick reply, I do appreciate it. This is the scenario I have.
I have a wp website, that is accessible for paying members, on a post that is accessible for paying members I want to have a peertube video that is base upon a live broadcast (it is a news website).
To prevent users to share the live broadcast link, I need it « protected » so for now I have the link in peertube set as unlisted. Still, if the users do a right-click on the video they can see the link and as such share it.
The solution I had in mind is to use the api to « log me in » then allow for the video to show. I then can have the video set to private and nobody would be able to see the video outside WP (unless they are me of course).
Any idea how I could achieve that?