Workaround is to share a tab in a Chrome/Chromium browser in which the video (from any source, also PeerTube) plays (switch on "also share audio"). However, this is not an ideal user experience, as it requires some additional steps and audio may lag a bit.
Also note that there is a new config setting where we could restrict from which sources videos can be shared:
// A list of allowed URL domains for shared video. // // NOTE: // '*' is allowed value and it will allow any URL to be used for shared video. We do not recommend using '*', // use it at your own risk! // sharedVideoAllowedURLDomains: [ ],
I've been making some progress but I'm still stuck on some stuff, we will have to make the decision soon if what I did is enough or not, I put something on the https://fairmeeting.dev.osalliance.com/ so you can take a look but many things are still broken:
moving to a specific point in the video does not move the other videos - if I will manage to get it to work then that would be only with the newest unreleased peertube v7 but for now I didn't even manage to get that to work yet.
Currently I allowed them to also move themselves because of this and because of the option to choose a caption for themselves.
stopping the video (actually removing it for everyone and not pausing it) does not work for some reason and I can get it to work but then the synchronised pausing and playing does not work, will hopefully fix that soon.
Another thing I could hopefully do would be to get the language of the user and then put for them the caption of their language
the autoplay does not work, so everyone needs to also click on play (and on accept anyway)
There are some other things that are not optimal or might be broken, but I couldn't right everything so I started with this.
I made some great progress, so now quite a lot is working, unfortunately only with the newest unreleased peertube v7, you can test with this instance if you want:
I think it works quite well as is, you have to get used to some aspects of the functionality, but you can work around that pretty well imho, please check it out and let's decide if it's usable @roland.alton@jonas.liebst
(autoplay still does not really work and I didn't manage to set the captions with the language...)
For a watch party synchronizity is important, else people refer in the chat to different scenes of the video. So yes, auto play should start the video at all participants.
Also sharing a Youtube video still works as before and auto-starts, with the small difference that it can be paused by each user individually. This could also cause asynchronous comments - or it is a feature for individual breaks .
You need to first click on yes when the dialog pops up so that'll also be a problem for synchronicity, but I'll take a look at that and why the autoplay doesn't work...
I think the synchronicity should still work, it automatically puts you where the person who started the sharing is (only when it's playing not when it's paused) so even if you started watching it'll bring you back to where the "owner" is.
Should I remove the stopping possibility for YouTube?
Autoplay works only when muting for some reason, so either we mute and let everyone figure out how to unmute or we let everyone figure out that they need to click on the play button, I found the config to get rid of the pop up asking if the domain is ok, but for some reason the config was not working for me locally so I hardcoded that for now.
YouTube is hard coded as trusted into the browsers using a internal list generated by Google based primarily on Global Traffic, so the only way to get autoplay to work is to get PeerTube to be more popular and trusted #234