YouTubePopoutPlayer icon indicating copy to clipboard operation
YouTubePopoutPlayer copied to clipboard

Open Popout Player Automatically

Open rthaut opened this issue 4 years ago • 0 comments

Request a new feature/setting to automatically open the Popout Player when navigating to a YouTube video page.

Items to consider:

  • [ ] Should this only apply to dedicated video pages on YouTube, or should it also include any page with am embedded video? Should it be a configurable setting (or sub-setting)?
    • If enabled/allowed for any page with an embedded video, a page with multiple embedded videos could result in a Popout being opened for each video
  • [ ] Should it respect the "Close Original Window/Tab" setting? Or should it have its own setting/sub-setting (sort of like there are dedicated shortcut keys now that override/ignore the "Close Original Window/Tab" setting)?

Possible issues:

  • Browsers might block the window from opening if it is initiated by the content script, as it won't occur as a result of a user action/event. The alternative approach would be to use a listener in the background script (tabs.onUpdated()) instead of doing it in the content script, but that might not capture navigating between pages within YouTube (since they aren't true page turns).

rthaut avatar Dec 09 '21 21:12 rthaut