rthaut / YouTubePopoutPlayer

This browser extension provides a simple way to open any YouTube video or playlist (including videos and playlists embedded in other sites/pages) in a configurable "popout" window which you can freely position and resize.
https://rthaut.github.io/YouTubePopoutPlayer/
GNU General Public License v3.0
38 stars 11 forks source link

Playlist Shuffle Support #401

Open inaroom opened 1 year ago

inaroom commented 1 year ago

as the title says, the shuffling of a playlist isn't working when in popup mode: the videos in the list are played sequentially. not a deal breaker, but i often listen to playlist on youtube and would be a nice plus to have it working

rthaut commented 1 year ago

This might be possible by passing the enablejsapi URL parameter when opening the Popout Player, and then calling the setShuffle() method from within the content script.

As for the UI/UX, this is probably something that should be handled per-playlist (rather than always on/off), which means adding: