Linux 软件免费装
Banner图

KU Sticky Video for YouTube

开发者 karasunouta
更新时间 2026年7月19日 19:09
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

youtube floating youtube player sticky video floating video

下载

1.10.0 1.10.0.1 1.10.0.4 1.10.0.2 1.10.0.3 1.10.0.5 1.10.1 1.8.4 1.8.0 1.8.5 1.5.3 1.5.4 1.5.6 1.6.0 1.8.3 1.8.7 1.6.1 1.8.7.1 1.7.0 1.8.8 1.9.0

详情介绍:

Create a seamless and engaging viewing experience with KU Sticky Video for YouTube. This lightweight plugin automatically turns your YouTube embeds into a floating video (a sticky video in picture in picture style) that follows the reader as they browse your content. When a user scrolls past a playing video, the player smoothly glides to the corner of the page so they can keep watching. This prevents interruptions, keeping users engaged with your content while they read. Whether you want to implement youtube scroll tracking or a simple floating video widget, this plugin delivers high performance with zero configuration needed.

安装:

  1. Upload the plugin files to the /wp-content/plugins/ku-sticky-video-for-youtube directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Configure the settings under Settings -> KU Sticky Video for YouTube.
Build Instructions (for developers) To rebuild the minified assets, run the following commands in the plugin directory:
  1. npm install (to install build dependencies)
  2. npm run build (to compile the source files using @wordpress/scripts)

屏幕截图:

  • The lower part of the plugin settings page (Layout, Width, Z-index, and Mobile settings).
  • A YouTube video player loaded in a WordPress post on the frontend.
  • The YouTube video player showing in a sticky (fixed position) state in the bottom-right corner when scrolling down the WordPress post.

常见问题:

How can I prevent a specific YouTube video from floating?

You can add the excluded CSS class (configured in the settings page, default: no-sticky) to the YouTube block or its parent container in the WordPress editor under "Advanced" -> "Additional CSS class(es)".

Will this plugin slow down my website?

No, it is built with performance in mind. The plugin is extremely lightweight (minified vanilla JS, no jQuery) and utilizes conditional loading. This means scripts and styles are only loaded on pages or posts that actually contain YouTube video embeds. Other pages will remain completely untouched.

How do I fix the floating player overlapping with my header menu or chat widget?

You can adjust the Z-index setting in the plugin options (Settings -> KU Sticky Video for YouTube). Increasing the Z-index will bring the player forward, while decreasing it can place it behind sticky menus. You can also switch the display position between Bottom Right and Bottom Left.

Can I disable the sticky effect on mobile devices?

Yes. There is a setting to automatically disable the sticky player on narrow viewports (mobile devices). This ensures a clean and user-friendly experience on smaller screens where screen space is limited.

Does it work with the default WordPress Gutenberg editor?

Yes, it works out of the box with the default WordPress YouTube Embed blocks, as well as classic editor embeds and raw iframe codes within post content.

Is there a Pro version with more features?

Yes! KU Sticky Video for YouTube Pro extends the free plugin with advanced targeting, full design customization, exclusion zones, per-page filter hooks, and more. 👉 View Pro details and pricing | Try the live demo

Why does a subsequent video become sticky instead of the first video when using a lazy-loading plugin?

Due to how lazy-loading plugins defer iframe loading, initial detection of the first video may not be stable. To ensure stable operation, please add the page's first YouTube video embed to the exclusion list in your lazy-loading plugin's settings.

Does it work with the "EmbedPlus for YouTube" plugin?

Due to the highly customized nature of the "EmbedPlus for YouTube" plugin (such as dynamic lazy-loading and custom player wrappers), it cannot be tracked automatically out of the box. However, you can achieve full compatibility by adding a small code snippet to your theme. Please refer to the "EmbedPlus for YouTube Compatibility" section for instructions.

更新日志:

1.10.1 1.10.0 1.9.0 1.8.8 1.8.7 1.8.5 1.8.4 1.8.3 1.8.2 1.8.0 1.7.0 1.6.0 1.5.0 1.4.3 1.0.0