VideoPress 新增 VideoPress Playlist block,支持在 WordPress 页面创建和管理视频播放列表
VideoPress now supports playlists
VideoPress 新增 VideoPress Playlist block,允许用户在 WordPress 文章或页面中创建并分享视频播放列表。该区块支持通过 URL 或媒体库添加视频、调整顺序和预览布局,并可配置自动播放、静音、循环及缩略图、标题、时长等显示项。该功能现已随 VideoPress 插件提供,也可在启用 VideoPress 的 Jetpack 16.2 或更高版本中使用。
A support topic on the WordPress.org forums caught my attention recently. The ask was simple: could VideoPress play videos as a playlist on a single page?
Then I found several other requests for the same feature, and one comment stood out:
Only one more thing I would need for 5 stars: a VideoPress playlist block of some kind, please and thanks?
— A VideoPress user
What I had in mind initially was something closer to YouTube Playlists, with a separate place to create and manage playlists. I have to admit I was making it more complicated than it needed to be.
In WordPress, we can let people build and share playlists right on their own sites. That’s the idea behind the VideoPress Playlist block.
Up nextPlaylist — 4 videos4 videos
To create and share a playlist, all you have to do is create a page or post, add the VideoPress Playlist block, add your videos, tweak the layout, and publish. Then share the page URL.
What you can do
Build and manage your playlist

Start with the “Build a video playlist” placeholder and add videos by URL or select them from your Media Library.
As you build, you’ll see a live preview of how the playlist will look on your site. Click an entry to switch the previewed video, and use the block’s sidebar settings to manage the playlist.
You can drag and drop videos to change their order, use the up and down arrow keys on the reorder handles, or remove individual entries. If you add a video that’s already in the playlist, you’ll have the option to add it anyway or cancel.
Choose how it plays

The playback settings let you:
- Automatically play the next video.
- Mute videos by default.
- Loop the playlist.
Whether you’re putting together a series of tutorials or a collection of favorite clips, you can choose how viewers move through them.
Show the details you want

Choose which details appear in your playlist, including thumbnails, titles, resolution, duration, and position numbers. You can also show the playlist’s total runtime.
Make it fit your site

Choose from three layouts:
- Side rail: The list sits beside the video with an “Up next” label. Good for a course or series people watch in order.
- Grid: The entries sit in a grid below the video, so viewers can scan the whole collection and pick what to watch.
- Strip: The entries sit in one row below the video that scrolls sideways, which keeps the playlist compact.
You can also choose a dark player surface and, when your theme provides fonts, select a font for the entry titles.
Give it a try
The block is available now in the VideoPress plugin, and in Jetpack 16.2 or later with VideoPress turned on. Open any post or page, search for “Video Playlist” in the block inserter, and start adding videos.
This one started with a single forum post and a user asking for a playlist block, “please and thanks.” Requests like that shape what we build, so keep them coming.
Try it out and let us know what you think in the VideoPress support forum or by opening an issue on GitHub.
来源:JetPack新闻 · https://jetpack.com/resources/videopress-now-supports-playlists/