Skip to content

VideoPress Channel: a page per playlist - #53504

Merged
heydemoura merged 2 commits into
trunkfrom
add/videopress-channel-playlist-pages
Oct 16, 2026
Merged

heydemoura merged 2 commits into
trunkfrom
add/videopress-channel-playlist-pages

Conversation

@heydemoura

@heydemoura heydemoura commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Proposed changes

  • /videopress?list=<playlist id> renders the post holding the playlist with the theme's videopress-playlist template; an unknown id 404s. ?v=<guid>&list=<id> keeps the playlist context on a video page.
  • Video Playlist block: new queried source, "The playlist being viewed", for the playlist and video page templates. Entries of a playlist shown from the index or the URL link to their video pages with &list=<id>.
  • All Playlists: cards link to the playlist page on channel sites ( elsewhere they still link to the post ); new excludeCurrent option to leave out the playlist being viewed, e.g. a "More playlists" row on a playlist page.

The changes to the playlist blocks that do not need playlist pages ( the index source and picker, the updated order, showUpdated ) are in #53657, now merged.

Part 5 of 11 of a stacked series

The VideoPress channel theme support is split so each change can be reviewed, tested and deployed on its own. Each PR is based on the previous one; merge them in order.

  1. VideoPress Channel: only open a video page for a video uploaded to this site #53501 — VideoPress Channel: only open a video page for a video uploaded to this site ( merged )
  2. Video Playlist: keep channel video links in the same tab and mark the video being viewed #53502 — Video Playlist: keep channel video links in the same tab and mark the video being viewed ( merged )
  3. VideoPress Channel: add the data layer for the channel blocks #53503 — VideoPress Channel: add the data layer for the channel blocks ( merged )
  4. VideoPress: let the playlist blocks show a site playlist and sort by last update #53657 — VideoPress: let the playlist blocks show a site playlist and sort by last update ( merged )
    → 5. VideoPress Channel: a page per playlist #53504 — VideoPress Channel: a page per playlist
  5. Latest Videos Playlist: sorting, search, length filter and pages #53505 — Latest Videos Playlist: sorting, search, length filter and pages
  6. VideoPress: add a Channel Details block #53506 — VideoPress: add a Channel Details block
  7. VideoPress: add a Video Details block and let the video block play the newest upload #53507 — VideoPress: add a Video Details block and let the video block play the newest upload
  8. VideoPress: add a Playlist Details block #53508 — VideoPress: add a Playlist Details block
  9. VideoPress: add an Episode Navigation block #53509 — VideoPress: add an Episode Navigation block
  10. VideoPress Channel blocks: empty states #53510 — VideoPress Channel blocks: empty states

Related product discussion/links

Does this pull request change what data or activity we track or use?

No.

Testing instructions

  • jp test php packages/videopress; pnpm run build in the package.
  • On a channel site, publish a post with a titled Video Playlist block. Open /videopress?list=<its playlistId>: the playlist page renders with the theme's playlist template. /videopress?list=nope is a 404.
  • In that template, a Video Playlist block with Source → Videos set to "The playlist being viewed" shows the playlist's videos, and each entry links to /videopress/?v=<guid>&list=<id>. That video page keeps the playlist context, so the same block shows the playlist there too, with the current video marked.
  • All Playlists cards link to /videopress?list=<id>. With "Hide the playlist being viewed" on, the playlist of the current page is left out. On a site without the channel feature, cards still link to the post.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (Jetpack), and enable the add/videopress-channel-playlist-pages branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack add/videopress-channel-playlist-pages

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@github-actions github-actions Bot added [Package] VideoPress [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Plugin] VideoPress A standalone plugin to add high-quality VideoPress videos to your site. [Tests] Includes Tests labels Oct 12, 2026
@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • ✅ Add a "[Status]" label (In Progress, Needs Review, ...).
  • ✅ Add testing instructions.
  • ✅ Specify whether this PR includes any changes to data or privacy.
  • ✅ Add changelog entries to affected projects

This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖


Follow this PR Review Process:

  1. Ensure all required checks appearing at the bottom of this PR are passing.
  2. Make sure to test your changes on all platforms that it applies to. You're responsible for the quality of the code you ship.
  3. You can use GitHub's Reviewers functionality to request a review.
  4. When it's reviewed and merged, you will be pinged in Slack to deploy the changes to WordPress.com simple once the build is done.

If you have questions about anything, reach out in #jetpack-developers for guidance!


Jetpack plugin:

No scheduled milestone found for this plugin.

If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack.


Videopress plugin:

No scheduled milestone found for this plugin.

If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack.

@jp-launch-control

jp-launch-control Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Code Coverage Summary

Coverage changed in 5 files.

File Coverage Δ% Δ Uncovered
projects/packages/videopress/src/class-all-playlists-block.php 342/345 (99.13%) 0.04% 0 💚
projects/packages/videopress/src/class-channel.php 184/188 (97.87%) 0.54% 0 💚
projects/packages/videopress/src/class-initializer.php 505/563 (89.70%) 0.06% 0 💚
projects/packages/videopress/src/client/block-editor/blocks/all-playlists/edit.tsx 31/35 (88.57%) 0.34% 0 💚
projects/packages/videopress/src/client/block-editor/blocks/playlist/source-controls.tsx 26/26 (100.00%) 0.00% 0 💚

Full summary · PHP report · JS report

@heydemoura
heydemoura force-pushed the add/videopress-channel-data branch from d783cca to 9536956 Compare October 14, 2026 19:57
Base automatically changed from add/videopress-channel-data to trunk October 14, 2026 20:24
@heydemoura
heydemoura force-pushed the add/videopress-channel-playlist-pages branch from cc3e244 to 07de5d6 Compare October 15, 2026 11:13
@heydemoura
heydemoura changed the base branch from trunk to update/videopress-playlist-blocks-for-channels October 15, 2026 11:14
@heydemoura
heydemoura force-pushed the add/videopress-channel-playlist-pages branch 3 times, most recently from 2a401e2 to cfc215d Compare October 15, 2026 13:12
@heydemoura
heydemoura force-pushed the update/videopress-playlist-blocks-for-channels branch from ff0c36e to e6c39d0 Compare October 15, 2026 13:14
@heydemoura
heydemoura force-pushed the add/videopress-channel-playlist-pages branch from cfc215d to fbeeb88 Compare October 15, 2026 13:14
Base automatically changed from update/videopress-playlist-blocks-for-channels to trunk October 15, 2026 13:57
@heydemoura
heydemoura force-pushed the add/videopress-channel-playlist-pages branch from fbeeb88 to ab76245 Compare October 15, 2026 13:59
@heydemoura
heydemoura marked this pull request as ready for review October 15, 2026 14:03
@heydemoura
heydemoura requested a review from a team as a code owner October 15, 2026 14:04
@heydemoura
heydemoura force-pushed the add/videopress-channel-playlist-pages branch 2 times, most recently from df01403 to 9d463d4 Compare October 15, 2026 17:43
Heyde Moura and others added 2 commits October 15, 2026 16:24
`/videopress?list=<playlist id>` renders the post holding the playlist with
the theme's `videopress-playlist` template; an unknown id 404s, and
`?v=<guid>&list=<id>` keeps the playlist context on a video page. The Video
Playlist block can show the playlist being viewed ( `source: queried` ), and
its entries then link with the playlist context. All Playlists cards link to
playlist pages on channel sites and can leave out the playlist being viewed
( `excludeCurrent` ).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Covers the playlist page links of the cards on a channel site, the post
links elsewhere, `excludeCurrent` leaving out the playlist being viewed,
and the editor toggle that sets it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@heydemoura
heydemoura force-pushed the add/videopress-channel-playlist-pages branch from 9d463d4 to 67ffe53 Compare October 15, 2026 19:25
@heydemoura
heydemoura merged commit bc1d3cd into trunk Oct 16, 2026
87 checks passed
@heydemoura
heydemoura deleted the add/videopress-channel-playlist-pages branch October 16, 2026 12:37
@github-actions github-actions Bot added [Status] UI Changes Add this to PRs that change the UI so documentation can be updated. and removed [Status] In Progress labels Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] VideoPress A feature to help you upload and insert videos on your site. [Package] VideoPress [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Plugin] VideoPress A standalone plugin to add high-quality VideoPress videos to your site. [Status] UI Changes Add this to PRs that change the UI so documentation can be updated. [Tests] Includes Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant