Skip to content

VideoPress: add a Playlist Details block - #53508

Merged
heydemoura merged 1 commit into
trunkfrom
add/videopress-playlist-details-block
Oct 19, 2026
Merged

heydemoura merged 1 commit into
trunkfrom
add/videopress-playlist-details-block

Conversation

@heydemoura

@heydemoura heydemoura commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Proposed changes

  • New videopress/playlist-details block for the playlist being viewed or one picked from the site: cover with video count, title, channel, meta, description, Play all ( opens the first video in the playlist context ) and Share.

Part 9 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
  5. VideoPress Channel: a page per playlist #53504 — VideoPress Channel: a page per playlist
  6. Latest Videos Playlist: sorting, search, length filter and pages #53505 — Latest Videos Playlist: sorting, search, length filter and pages
  7. VideoPress: add a Channel Details block #53506 — VideoPress: add a Channel Details block
  8. 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
    → 9. 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.
  • Open a playlist page ( /videopress?list=… ) with the block; Play all opens the first video with &list=. With source "a playlist from this site", pick one in the editor.

🤖 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-playlist-details-block branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack add/videopress-playlist-details-block

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 1 file.

File Coverage Δ% Δ Uncovered
projects/packages/videopress/src/class-channel-blocks.php 217/219 (99.09%) 0.28% 0 💚

2 files are newly checked for coverage.

File Coverage
projects/packages/videopress/src/client/block-editor/blocks/playlist-details/edit.tsx 5/8 (62.50%) 💚
projects/packages/videopress/src/client/block-editor/blocks/playlist-details/index.tsx 1/1 (100.00%) 💚

Full summary · PHP report · JS report

@heydemoura
heydemoura force-pushed the add/videopress-video-details-block branch from 206dc6c to 7ad5351 Compare October 15, 2026 11:13
@heydemoura
heydemoura force-pushed the add/videopress-playlist-details-block branch from e58fe0c to 9e4376d Compare October 15, 2026 11:13
@heydemoura
heydemoura force-pushed the add/videopress-video-details-block branch from 7ad5351 to 6c1b274 Compare October 15, 2026 11:42
@heydemoura
heydemoura force-pushed the add/videopress-playlist-details-block branch from 9e4376d to 5bb1e1c Compare October 15, 2026 11:42
@heydemoura
heydemoura force-pushed the add/videopress-video-details-block branch from 6c1b274 to fd5c005 Compare October 15, 2026 12:25
@heydemoura
heydemoura force-pushed the add/videopress-playlist-details-block branch from 5bb1e1c to 0260022 Compare October 15, 2026 12:25
@heydemoura
heydemoura force-pushed the add/videopress-video-details-block branch from fd5c005 to f99d1d9 Compare October 15, 2026 13:13
@heydemoura
heydemoura force-pushed the add/videopress-playlist-details-block branch from 0260022 to 95fb444 Compare October 15, 2026 13:13
@heydemoura
heydemoura force-pushed the add/videopress-video-details-block branch from f99d1d9 to 997233b Compare October 15, 2026 13:14
@heydemoura
heydemoura force-pushed the add/videopress-playlist-details-block branch from 95fb444 to a6ed0fb Compare October 15, 2026 13:14
@heydemoura
heydemoura force-pushed the add/videopress-video-details-block branch from 997233b to 3ff12c7 Compare October 16, 2026 12:57
@heydemoura
heydemoura force-pushed the add/videopress-playlist-details-block branch from a6ed0fb to 3903f3b Compare October 16, 2026 12:57
@heydemoura
heydemoura force-pushed the add/videopress-video-details-block branch from 3ff12c7 to 2d9d25c Compare October 16, 2026 13:15
@heydemoura
heydemoura force-pushed the add/videopress-playlist-details-block branch from 3903f3b to c8eafca Compare October 16, 2026 13:15
@heydemoura
heydemoura force-pushed the add/videopress-video-details-block branch from 2d9d25c to 89557d3 Compare October 16, 2026 13:43
@heydemoura
heydemoura force-pushed the add/videopress-playlist-details-block branch from c8eafca to dd7b59d Compare October 16, 2026 13:43
@heydemoura
heydemoura force-pushed the add/videopress-video-details-block branch from 89557d3 to b5976a7 Compare October 16, 2026 14:12
@heydemoura
heydemoura force-pushed the add/videopress-playlist-details-block branch from dd7b59d to 66b4aae Compare October 16, 2026 14:12
@heydemoura
heydemoura force-pushed the add/videopress-video-details-block branch from b5976a7 to c01d16f Compare October 16, 2026 17:34
@heydemoura
heydemoura force-pushed the add/videopress-playlist-details-block branch from 66b4aae to 97ce956 Compare October 16, 2026 17:34
* WordPress dependencies
*/
import { InspectorControls, useBlockProps } from '@wordpress/block-editor';
import { PanelBody, SelectControl, ToggleControl } from '@wordpress/components';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As of the latest @wordpress/ui package version bump in Jetpack, you can now use SwitchControl from the @wordpress/ui package instead. It's a more modern version of the same component.

Please also rebase onto the latest trunk; you'll see the new linter rule complain about using the old component until you update. If you must use this older component, you can include it in the linter exclusion list for now. Just lemme know!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Rebased onto trunk and switched these toggles to SwitchControl from @wordpress/ui (in 1d7569b), with a test that each switch updates its attribute. Channel Details ( #53506 ) and Video Details ( #53507 ) got the same change, so no exclusion list entries were needed.

@heydemoura
heydemoura force-pushed the add/videopress-video-details-block branch from c01d16f to c11bb03 Compare October 19, 2026 12:26
Base automatically changed from add/videopress-video-details-block to trunk October 19, 2026 13:03
Playlist Details shows a playlist's cover, title, channel, video count, update time and
runtime, description, Play all ( the first video within the playlist ) and Share, for the
playlist being viewed or one picked from the site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@heydemoura
heydemoura force-pushed the add/videopress-playlist-details-block branch from 97ce956 to 1d7569b Compare October 19, 2026 13:10
@heydemoura
heydemoura marked this pull request as ready for review October 19, 2026 13:18
@heydemoura
heydemoura requested a review from a team as a code owner October 19, 2026 13:18
@heydemoura
heydemoura merged commit ae7dc99 into trunk Oct 19, 2026
101 checks passed
@heydemoura
heydemoura deleted the add/videopress-playlist-details-block branch October 19, 2026 14:11
@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 19, 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.

2 participants