Skip to content

[WIP] Duck Player: Change Playlist URL behavior #1787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mgurgel
Copy link
Contributor

@mgurgel mgurgel commented Jul 1, 2025

Asana Task/Github Issue: https://app.asana.com/1/137249556945/project/1203249713006009/task/1210710185637368?focus=true

Description

Changes the behavior of Duck Player when viewing the first video of a YouTube Playlist:

  • In automatic mode: open the video in Duck Player automatically as if it were a link to an individual video
  • In ask mode: present the overlay on the first video (not happening today), as well as the next videos in the list when it switches to the next video (current behavior today).

Testing Steps

Requires running branch mgurgel/duckplayer-playlist-overlay of macOS

Overlay

  1. Set Duck Player to "Always use Duck Player"
  2. Go to a YouTube Playlist URL. Example: https://www.youtube.com/watch?v=QmtRMoMWUKE&list=RDEMgDn4JB_u4XYvzLx7-3tBvA&start_radio=1&rv=8v4oxxvs8iY
  3. You should see the overlay on the first video of the playlist
  4. Click on "Turn on Duck Player" or on any video in the list
  5. The video should open in Duck Player

Automatic

  1. Set Duck Player to "Ask"
  2. Go to a YouTube Playlist URL. Example: https://www.youtube.com/watch?v=QmtRMoMWUKE&list=RDEMgDn4JB_u4XYvzLx7-3tBvA&start_radio=1&rv=8v4oxxvs8iY
  3. It should open the URL in Duck Player

Checklist

Please tick all that apply:

  • I have tested this change locally
  • I have tested this change locally in all supported browsers
  • This change will be visible to users
  • I have added automated tests that cover this change
  • I have ensured the change is gated by config
  • This change was covered by a ship review
  • This change was covered by a tech design
  • Any dependent config has been merged

@mgurgel mgurgel self-assigned this Jul 1, 2025
Copy link

netlify bot commented Jul 1, 2025

Deploy Preview for content-scope-scripts ready!

Name Link
🔨 Latest commit aa5e205
🔍 Latest deploy log https://app.netlify.com/projects/content-scope-scripts/deploys/6867f7eb62be6f00096e3234
😎 Deploy Preview https://deploy-preview-1787--content-scope-scripts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

github-actions bot commented Jul 1, 2025

Temporary Branch Update

The temporary branch has been updated with the latest changes. Below are the details:

Please use the above install command to update to the latest version.

Copy link

github-actions bot commented Jul 1, 2025

[Beta] Generated file diff

Time updated: Fri, 04 Jul 2025 15:49:48 GMT

Android
    - android/contentScope.js
  • android/pages/duckplayer/dist/index.js

File has changed

Integration
    - integration/contentScope.js
  • integration/pages/duckplayer/dist/index.js

File has changed

Windows
    - windows/contentScope.js
  • windows/pages/duckplayer/dist/index.js

File has changed

Apple
    - dist/contentScope.js
  • dist/contentScopeIsolated.js
  • dist/pages/duckplayer/dist/index.js
  • dist/pages/duckplayer/index.html

File has changed

@mgurgel mgurgel force-pushed the mgurgel/duckplayer-playlist-overlay branch from b0c3ac6 to aa5e205 Compare July 4, 2025 15:48
@mgurgel mgurgel changed the title [POC] Special overlay for playlists [WIP] Duck Player: Change Playlist URL behavior Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant