=== Sticky Youtube Video Onscroll ===
Contributors: Aarambha Themes
Tags: video, sticky video 
Requires at least: 5.7
Tested up to: 7.1
Stable tag: 1.0.5
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Make YouTube videos stick to the screen on scroll, with position options for left, right, or center.

== Description ==

This plugin is perfect to make your YouTube Video sticky on scroll with the play of youtube videos available at your WordPress Posts/pages. Moreover, you can get and manage the video position sticky on the left, right, or center of the window if the user scrolls away from the video viewport.
[Demo]( https://aarambhathemes.com/sticky-youtube-video-onscroll/ ) [Video](https://youtu.be/xLnxtEDvhUA)


== Features == 

- Wondering about getting sticky youtube videos on scroll? No more complexities for it. Easy and user friendly dashboard interface.
- Sticky video on scroll can enable and disable.
- Can add custom height and width that suit your site’s frame. 
- Sticky video can align to right/left/center on scrolling.

== How to use it ==

- Copy the url of the youtube video you want to add into the post/page.
- Paste it in the youtube block and embed it.
- Enable the plugin.
- Go to Plugin’s settings and play with available video options 
- If you want to adjust some styling you can do it through custom CSS. You can preview your changes.

== Frequently Asked Questions ==

= Does it work on the other video source ? =

It works only for the video uploaded from the youtube block now. We are working for another sources as well. It is a start for making video sticky.

== Installation ==

**Automatic installation**
1. Open the admin panel of your WordPress site, then
	Plugins > Add New
2. Search for “ Sticky Youtube Video OnScroll”,
3. You can see the result on your screen, click “Install Now”,
4. Activate it and open the plugin’s Settings page inside the Settings menu.

**Manual installation**
1. Visit your /wordpress/wp-content/plugins/ directory and put the plugin’s folder inside there. 
2. Or, upload the downloaded folder to the /wp-content/plugins/ directory via FTP.
3. Click on the Plugins menu in your dashboard,
	Plugins > All Plugins, and Activate the plugin.

== Screenshots ==
 
1. Banner of the plugin. 
2. Icon of the plugin. 


== Changelog ==

= 1.0.5 - August 25 2026 = 
* Security: Added direct file access protection to includes/plugin-functions.php, admin/admin-options.php, and admin/single-page-post-options.php.
* Security: Added sanitization callbacks to all plugin settings registered via register_setting().
* Fix: Added version parameter to enqueued stylesheet to prevent browser caching issues.
* Fix: Added GPLv2 license declaration to the plugin header.
* Fix: Renamed unprefixed global variable ($SvyoOption to $syvos_option) to avoid naming collisions.
* Tweak: Updated "Tested up to" to WordPress 7.1.
* Tweak: Shortened plugin short description to comply with WordPress.org 150-character limit.

= 1.0.4 - July 7 2026 = 
* jQuery dependency error solved.
* Tested up to wp version 7.1 

= 1.0.3 - April 16 2025 =
* Tweak - supported for the FSE youtube video.

= 1.0.2 - November 20 2023 =
* Tested up to wp version 6.4

= 1.0.1 - May 02 2023 =
* Tested up to wp version 6.2
* Tweak in displaying setting page under settings page.

= 1.0.0 =
* A change since the previous version.
* Another change.