Linux 软件免费装
Banner图

Public Signal Video Feed

开发者 owenmccostis
更新时间 2026年9月18日 19:58
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

video embed youtube accessibility playlist

下载

1.0.0 1.0.1 1.0.2 1.0.3

详情介绍:

Public Signal Video Feed is a YouTube playlist feed plugin for WordPress. It provides a live block editor preview, a lightweight shortcode, transient-based API caching, responsive grid and list layouts, and a keyboard-friendly modal player. Features include: This plugin requires a YouTube Data API v3 key supplied by the site administrator. External Services Public Signal Video Feed relies on services provided by Google and YouTube to retrieve and display playlist content. When an uncached feed or block editor preview is rendered, the site sends the configured YouTube Data API key, the playlist identifier, and a pagination token when needed to the YouTube Data API endpoint at https://www.googleapis.com/youtube/v3/playlistItems. The API response is normalized and stored temporarily in WordPress transients for the configured freshness period, with up to 24 additional hours of retention for recovery when a refresh fails. Playlist thumbnail images load in a visitor's browser from the YouTube or Google-hosted image URLs returned by the API. The normal YouTube iframe player loads after a visitor selects a video. If API playlist data is unavailable, a fallback YouTube playlist iframe may load when the page loads. These browser requests can transmit technical information such as the visitor's IP address, browser user agent, referrer, and cookies to Google or YouTube. Use of these services is subject to Google's terms and privacy policies:

安装:

  1. Upload the public-signal-video-feed folder to the /wp-content/plugins/ directory, or install the plugin ZIP through the WordPress Plugins screen.
  2. Activate Public Signal Video Feed from the Plugins screen.
  3. Go to Settings > Video Feed.
  4. Add a YouTube Data API v3 key.
  5. Add the Video Feed block or shortcode to a page or post.
Block usage:
  1. Add the Video Feed block in the block editor.
  2. Enter a YouTube playlist URL in the block settings.
  3. Choose a grid or list layout.
  4. Optionally set a video limit or hide the channel name.
  5. Optionally open the Styles tab to override card, title, secondary-text, or border colors for that block.
Basic shortcode: [public_signal_video_feed url="https://www.youtube.com/playlist?list=PLAYLIST_ID"] Optional shortcode attributes: layout="grid" or layout="list" limit="6" show_channel="true" or show_channel="false" Example: [public_signal_video_feed url="https://www.youtube.com/playlist?list=PLAYLIST_ID" layout="grid" limit="6" show_channel="true"]

屏幕截图:

  • Fully responsive layouts seamlessly adapt to mobile, tablet, and desktop screens.
  • A keyboard-friendly modal player allows visitors to watch videos without leaving your site.
  • Configure cache settings and set a global default color palette for video feeds.

升级注意事项:

1.0.3 Fixes the video player modal not displaying due to outdated JavaScript files in 1.0.2. Updating is recommended for all 1.0.2 installations. 1.0.2 Improves cache reliability, keyboard accessibility, responsive layouts, settings validation, and Multisite data cleanup. Playlist data refreshes using the new cache format. 1.0.1 WordPress 7.1 compatibility update for block editor previews. 1.0.0 Initial release.

常见问题:

Do I need a YouTube API key?

Yes. The plugin uses the YouTube Data API v3 to retrieve playlist video details.

Does the plugin cache YouTube responses?

Yes. Playlist data is cached with WordPress transients. You can adjust the cache duration in Settings > Video Feed. Changing the API key or cache duration automatically invalidates existing caches. If a refresh fails, the last successful response may be used for up to 24 hours after its freshness period, with retries no more often than every 10 minutes. Failed pagination is never cached as a successful partial playlist.

How many playlist items can be retrieved?

Each refresh retrieves up to 500 playlist items within an eight-second request budget. Private, deleted, or malformed items may reduce the displayed count. The block and shortcode display limit applies after retrieval. Concurrent visitors share one refresh per playlist. Larger playlists should be split into smaller playlists when all items need to be displayed.

Can I still use the shortcode?

Yes. The block and shortcode are both supported. The block uses the same frontend rendering as the shortcode.

Can each block use different colors?

Yes. Global colors are configured in Settings > Video Feed. A block can override any color from its Styles tab, and clearing an override restores the global value. Shortcodes use the global colors.

Can I force the plugin to refresh playlist data?

Yes. Use the Clear Playlist Caches button on the Video Feed settings page.

What happens if the YouTube API is unavailable?

The plugin shows a generic availability message and provides a YouTube playlist fallback when possible.

更新日志:

1.0.3 1.0.2 1.0.1 1.0.0