=== ReelsHive ===
Contributors: aarati24
Tags: reels, gallery, video, tiktok, slider
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 1.0.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Cinematic portrait reel-like video galleries for the modern web.

== Description ==

ReelsHive allows you to easily create and display beautiful, portrait-style video reels on your WordPress site. Whether you want to showcase products, share stories, or create a TikTok-like experience, ReelsHive provides the tools you need with native video hosting and custom CTA overlays.

Key Features:
- **Single Reel Embeds**: Place a single video anywhere using a simple shortcode.
- **Dynamic Galleries**: Create grid, vertical scroll, or horizontal slider galleries.
- **Custom Call-To-Action**: Add buttons directly on your videos with custom links and styles.
- **Deep Linking**: Link directly to any video within a gallery.
- **Responsive Design**: Fast-loading and looks great on all devices.

== External services ==

This plugin provides social sharing functionality that links to third-party services. These services are only accessed when a user explicitly clicks on a share button.

* **Facebook**: Used for sharing video reels on Facebook. When a user clicks the Facebook share button, they are redirected to Facebook's sharing interface. The shared URL and page title are sent to Facebook.
  - Service provider: Meta Platforms, Inc.
  - [Terms of Service](https://www.facebook.com/legal/terms), [Privacy Policy](https://www.facebook.com/about/privacy)

* **WhatsApp**: Used for sharing video reels via WhatsApp. Clicking the WhatsApp share button redirects the user to the WhatsApp API to compose a message. The shared URL and page title are sent.
  - Service provider: WhatsApp LLC
  - [Terms of Service](https://www.whatsapp.com/legal/), [Privacy Policy](https://www.whatsapp.com/legal/privacy-policy)

* **Twitter (X)**: Used for sharing video reels on Twitter (X). Clicking the Twitter share button redirects the user to the Twitter intent interface. The shared URL and page title are sent.
  - Service provider: X Corp.
  - [Terms of Service](https://x.com/en/tos), [Privacy Policy](https://x.com/en/privacy)

== Installation ==

1. Upload the `reelshive` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to the 'ReelsHive' menu to start creating your first reels.

== Frequently Asked Questions ==

= How do I add a reel? =
Navigate to 'ReelsHive' -> 'Add New Single Reel', upload your MP4 file, set a thumbnail, and save. Copy the shortcode and paste it where you want the video to appear.

= Can I use external video URLs? =
Currently, ReelsHive is optimized for self-hosted MP4 files to ensure the best performance and "snap" experience.

== Changelog ==

= 1.0.7 =
- Enhanced: Unified admin preview width to 260px for perfect visibility on Desktop, iPad, and Mobile.
- Fixed: Resolved JavaScript ReferenceError in the admin dashboard.
- Fixed: Synchronized loading state and real-time percentage display in the admin preview player.

= 1.0.5 =
- Enhanced: Optimized mobile video loading with predictive buffering (600px margin).
- Enhanced: Redesigned video loader with smooth cross-fade transitions and real-time buffering percentage.
- Enhanced: Improved admin responsiveness for settings, meta boxes, and documentation tables.
- Fixed: Resolved play/pause synchronization issues in fullscreen mode.
- Fixed: Synchronized mute icons between inline and fullscreen players.
- Fixed: Resolved video visibility issues in fullscreen mode for already-buffered elements.
- Improved: Added `playsinline` and `metadata` preloading for faster mobile playback.

= 1.0.4 =
- Improved metadata saving and performance.
- Fixed minor layout issues in Grid gallery.

= 1.0.3 =
- Fixed: Prefixed taxonomy identifier from `reel_type` to `reelshive_reel_type` to comply with WordPress.org naming requirements.
- Fixed: Prefixed taxonomy term slugs — `single_reel` → `reelshive_single_reel`, `reels_gallery` → `reelshive_reels_gallery`.
- Fixed: Updated all admin URL query parameters, column keys, and taxonomy lookups across the admin class and partial templates to use the new prefixed identifiers.
- Fixed: Updated activation hook to register terms under the new prefixed taxonomy and slugs.

= 1.0.2 =
- Enhanced: Enforced Prefix Consistency
- Solved: Nonces and User Permissions Before Processing Requests
- Solved: Use wp_enqueue commands
- Add correct contributor username to readme
- Solved: Undocumented use of external service

= 1.0.1 =
- Initial public release for WordPress.org.
- Added professional safety guards for duplicate installations.
- Improved metadata saving and performance.

= 1.0.0 =
- Beta release.
