lbryio / lbry-desktop

A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
https://lbry.tech
MIT License
3.56k stars 413 forks source link

AutoPlay in Floating Player only works one time #5000

Closed infinite-persistence closed 3 years ago

infinite-persistence commented 3 years ago
  1. Play a video and go into FP mode.
  2. At the end of the first video, AutoPlay does play the next video automatically.
  3. At the end of the second video, AutoPlay wasn't invoked. In non-FP mode, AutoPlay continues to work beyond the second video.
DispatchCommit commented 3 years ago

https://github.com/lbryio/lbry-desktop/blob/master/ui/component/viewers/videoViewer/internal/videojs.jsx#L170

I'm guessing it's related to how the player's auto play option is configured, but I need to dig deeper on how play is being triggered with autoplay disabled before I try touching this.