Embed onEnded

Hi,

is it somehow possible to add an onEnded Handler to an Embed Video? According to the PeerTube Embed API, « playbackStatusUpdate » should transmit the status « ended », but unfortunately it does not.

Greetings
Banzai

Is this the same issue: https://github.com/Chocobozzz/PeerTube/issues/2574 ?
NB: the fix is not released yet.

Is it possible to add the patch manually in an already running installation?

If you speak french, see the Chocobozzz response here: Procédure pour intégrer des modifications customs à son instance?

If you don’t speak french: there are 2 solutions.

  • Use the nightly build (at your own risks) https://builds.joinpeertube.org/nightly/
  • Clone the git repository, apply the patch on the latests stable tag, « npm run build », copy needed folders on the server (see folder list in release.sh)