{"id":11549,"date":"2026-06-23T16:06:53","date_gmt":"2026-06-23T08:06:53","guid":{"rendered":"https:\/\/aeosub.com\/ku-sticky-video-for-youtube\/"},"modified":"2026-06-23T16:06:53","modified_gmt":"2026-06-23T08:06:53","slug":"ku-sticky-video-for-youtube","status":"publish","type":"post","link":"https:\/\/aeosub.com\/zh\/ku-sticky-video-for-youtube\/","title":{"rendered":"KU Sticky Video for YouTube"},"content":{"rendered":"<div class=\"post-img\" style=\"margin-bottom: 25px\"><img decoding=\"async\" src=\"https:\/\/ps.w.org\/ku-sticky-video-for-youtube\/assets\/banner-1544x500.png?rev=3568631\" alt=\"KU Sticky Video for YouTube\" loading=\"lazy\" style=\"width: 100%;height: auto;border-radius: 12px\"><\/div>\n<div class=\"plugin-expert-review\" style=\"border: 1px solid #e2e8f0;border-left: 4px solid #4a3bca;border-radius: 10px;padding: 20px;margin-bottom: 25px;background: #fff;font-family: -apple-system, system-ui, sans-serif\">\n<div style=\"font-weight: bold;font-size: 1.1em;color: #4a3bca;margin-bottom: 10px\">LethaldiranMX Insight<\/div>\n<div style=\"color: #4a5568;font-size: 14px;line-height: 1.6\">\n<div>\n<p>KU Sticky Video for YouTube addresses a common user experience challenge by keeping video content visible as users scroll through text-heavy pages. By converting standard YouTube embeds into a responsive, floating picture-in-picture player, it bridges the gap between video engagement and article readability. From an operational standpoint, its reliance on lightweight vanilla JavaScript and conditional asset loading ensures that site performance is not compromised for aesthetic utility. This makes it a highly practical tool for content publishers and bloggers who rely heavily on video-assisted storytelling to increase average session duration.<\/p>\n<p><strong>Best Fit &amp; Operational Role:<\/strong> This plugin is best suited for content-heavy WordPress sites, editorial blogs, and tutorial platforms that frequently embed YouTube videos within long-form articles. Operationally, it functions as a set-and-forget enhancement to default video embeds, resolving the issue of users having to choose between reading copy and watching accompanying video demonstrations. Because it loads assets conditionally only on pages containing YouTube embeds, it integrates cleanly into highly optimized production stacks without adding global script overhead.<\/p>\n<p><strong>Potential Limitations &amp; Pitfalls:<\/strong> The plugin is functionally restricted to YouTube embeds, meaning sites utilizing mixed video sources like Vimeo or self-hosted files will require alternative solutions for those platforms. Beyond this scope limitation, no performance overhead, security risks, or configuration complexities are identified based on available information.<\/p>\n<\/div>\n<\/div><\/div>\n<div class=\"plugin-info-card\" style=\"border: 1px solid #e2e8f0;border-radius: 10px;overflow: hidden;margin-bottom: 30px;font-family: -apple-system, system-ui, sans-serif;background: #fff\">\n<div style=\"padding: 20px;border-bottom: 1px solid #edf2f7;background: #fafafa;display: flex;align-items: flex-start\">\n                <img decoding=\"async\" src=\"https:\/\/ps.w.org\/ku-sticky-video-for-youtube\/assets\/icon-256x256.png?rev=3567311\" alt=\"KU Sticky Video for YouTube icon\" loading=\"lazy\" style=\"width: 45px;height: 45px;border-radius: 8px;margin-right: 15px\"> <\/p>\n<div style=\"flex: 1;line-height: 1.2\">\n<div style=\"font-weight: bold;font-size: 1.1em;color: #1a202c\">Plugin Specification<\/div>\n<p>                    <small style=\"color: #718096\">WordPress.org Official Data<\/small>\n                <\/div>\n<\/p><\/div>\n<table style=\"width: 100%;border-collapse: collapse;font-size: 14px\">\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;width: 35%;color: #4a5568;background: #fcfcfc\">Developer<\/th>\n<td style=\"padding: 12px 20px;font-weight: 500\"><a href=\"https:\/\/profiles.wordpress.org\/karasunouta\/\" target=\"_blank\" rel=\"noopener\">karasunouta<\/a><\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Version<\/th>\n<td style=\"padding: 12px 20px\">v1.8.3<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Active Installs<\/th>\n<td style=\"padding: 12px 20px\">0 +<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Requires \/ Tested<\/th>\n<td style=\"padding: 12px 20px\">5.6 \/ 7.0<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Last Updated<\/th>\n<td style=\"padding: 12px 20px\">2026-06-23 8:04am GMT<\/td>\n<\/tr>\n<tr>\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Official Link<\/th>\n<td style=\"padding: 12px 20px\"><a href=\"https:\/\/wordpress.org\/plugins\/ku-sticky-video-for-youtube\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"text-decoration: none;color: #4a3bca;font-weight: bold\">View Details -&gt;<\/a><\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"plugin-short-desc\" style=\"margin: 20px 0;padding: 12px 15px;background: #f9fafb;border-left: 4px solid #4a3bca;border-radius: 6px;font-style: italic;color: #4a5568\">Automatically float YouTube videos on scroll as a sticky video. Features picture in picture floating video and smooth youtube scroll follow.<\/div>\n<p>Create a seamless and engaging viewing experience with <strong>KU Sticky Video for YouTube<\/strong>. This lightweight plugin automatically turns your YouTube embeds into a <strong>floating video<\/strong> (a <strong>sticky video<\/strong> in <strong>picture in picture<\/strong> style) that follows the reader as they browse your content.<\/p>\n<p>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. (You can also configure it to float always on scroll.)<\/p>\n<p>Whether you want to implement <strong>youtube scroll<\/strong> tracking or a simple <strong>floating video<\/strong> widget, this plugin delivers high performance with zero configuration needed.<\/p>\n<p>This plugin contains minified JavaScript for performance. The complete, unminified source code is publicly available on GitHub:<br \/>\nhttps:\/\/github.com\/karasunouta\/ku-sticky-video-for-youtube<\/p>\n<h3>Features<\/h3>\n<ul>\n<li>Float YouTube video player automatically when it scrolls out of view.<\/li>\n<li>Choose display position: Bottom Right or Bottom Left.<\/li>\n<li>Flexible trigger options: float only when playing or float always (scroll follow).<\/li>\n<li>Hide the floating player when scrolling above the original video position.<\/li>\n<li>Customize video width using either pixel (px) or percentage (%) units.<\/li>\n<li>Set maximum width limits for percentage-based sizing (keep within original video width or set custom pixel threshold).<\/li>\n<li>Adjust Z-index to prevent overlapping with theme header menus, widgets, or popups.<\/li>\n<li>Automatically limits sticky video height to 50% of viewport to prevent blocking screen space.<\/li>\n<li>Protect mobile user experience by disabling the sticky video player on narrow viewports automatically.<\/li>\n<li>Exclude specific videos using a customizable CSS class.<\/li>\n<li>Beautiful and clean admin settings page.<\/li>\n<\/ul>\n<h3>How can I prevent a specific YouTube video from floating?<\/h3>\n<p>You can add the excluded CSS class (configured in the settings page, default: <code>no-sticky<\/code>) to the YouTube block or its parent container in the WordPress editor under &#8220;Advanced&#8221; -&gt; &#8220;Additional CSS class(es)&#8221;.<\/p>\n<h3>Will this plugin slow down my website?<\/h3>\n<p>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.<\/p>\n<h3>How do I fix the floating player overlapping with my header menu or chat widget?<\/h3>\n<p>You can adjust the Z-index setting in the plugin options (Settings -&gt; 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.<\/p>\n<h3>Can I disable the sticky effect on mobile devices?<\/h3>\n<p>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.<\/p>\n<h3>Does it work with the default WordPress Gutenberg editor?<\/h3>\n<p>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.<\/p>\n<h3>Build Instructions<\/h3>\n<p>To rebuild the minified assets, run the following commands in the plugin directory:<br \/>\n1. <code>npm install<\/code> (to install build dependencies)<br \/>\n2. <code>npm run build<\/code> (to compile the source files using <code>@wordpress\/scripts<\/code>)<\/p>\n<h3>1.8.3<\/h3>\n<ul>\n<li>Add: Settings link on plugins list page.<\/li>\n<\/ul>\n<h3>1.8.2<\/h3>\n<ul>\n<li>Fix: Resolved an issue where sticky borders and box-sizing styles would leak and remain on the original video player after dismissing the sticky state.<\/li>\n<\/ul>\n<h3>1.8.0<\/h3>\n<ul>\n<li>Improve: Migrated scroll tracking to IntersectionObserver API to eliminate layout reflows (getBoundingClientRect) for a much smoother scroll experience.<\/li>\n<li>Improve: Implemented conditional asset loading on PHP side to skip loading JS\/CSS on singular pages that do not contain any YouTube video embeds.<\/li>\n<\/ul>\n<h3>1.7.0<\/h3>\n<ul>\n<li>Add: Support for percentage (%) and pixel (px) width units for the floating player.<\/li>\n<li>Add: Max-width constraints for percentage-based sizes to prevent exceeding original video width or a custom pixel limit.<\/li>\n<li>Add: Configurable Z-index option to resolve overlapping with sticky header menus and chat widgets.<\/li>\n<li>Add: Option to hide the floating player when scrolling above the original video&#8217;s position.<\/li>\n<li>Improve: Auto-limit the floating player&#8217;s height to 50% of the viewport.<\/li>\n<li>Fix: Resolved issue where the sticky player was not dismissed when playing another video while a sticky video is paused.<\/li>\n<li>Fix: Refined YouTube API iframe loading and initialization timing.<\/li>\n<\/ul>\n<h3>1.6.1<\/h3>\n<ul>\n<li>Fix: Adjusted Japanese translation spacing and punctuation to align with the WordPress translation style guide.<\/li>\n<\/ul>\n<h3>1.6.0<\/h3>\n<ul>\n<li>Add: Option to select display position (Bottom Right or Bottom Left).<\/li>\n<li>Add: Option to automatically disable sticky video on narrow (mobile) viewports.<\/li>\n<li>Improve: Enhance internal hooks and architecture to support future extensions.<\/li>\n<\/ul>\n<h3>1.5.0<\/h3>\n<ul>\n<li>Rename: Renamed plugin from &#8220;Sticky YouTube&#8221; to &#8220;KU Sticky Video for YouTube&#8221;.<\/li>\n<li>Update: Updated version to 1.5.0.<\/li>\n<\/ul>\n<h3>1.4.3<\/h3>\n<ul>\n<li>Fix: Compatibility headers and PHP version.<\/li>\n<li>Fix: Settings page security enhancements.<\/li>\n<li>Add: License declarations for WordPress.org submission.<\/li>\n<\/ul>\n<h3>1.0.0<\/h3>\n<ul>\n<li>Initial release.<\/li>\n<\/ul>\n<div class=\"plugin-editorial-note\" style=\"margin-top: 25px;padding: 12px 15px;background: #f8fafc;border-radius: 6px;color: #64748b;font-size: 13px;line-height: 1.5\">Editorial note: This overview combines WordPress.org official plugin metadata with an AI-assisted LethaldiranMX editorial review. Plugin data should be verified on the official WordPress.org listing before installation.<\/div>","protected":false},"excerpt":{"rendered":"<p>Automatically float YouTube videos on scroll as a sticky video. Features picture in picture floating video and smooth youtube scroll follow.<\/p>","protected":false},"author":1,"featured_media":11550,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[252],"tags":[2795,2796,2797,555,1323,2798],"class_list":["post-11549","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trends","tag-floating-video","tag-picture-in-picture","tag-sticky-video","tag-wordpress-plugin","tag-youtube","tag-youtube-scroll"],"_links":{"self":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/11549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/comments?post=11549"}],"version-history":[{"count":0,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/11549\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media\/11550"}],"wp:attachment":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media?parent=11549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/categories?post=11549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/tags?post=11549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}