=== ReelsHive ===
Contributors: aarati24
Tags: reels, gallery, video, tiktok, slider
Requires at least: 5.0
Tested up to: 7.0.2
Requires PHP: 7.2
Stable tag: 1.0.12
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 self-hosted video support and custom CTA overlays.

Key Features:
- **Single Reel Embeds**: Place a single self-hosted video anywhere using a simple shortcode.
- **Dynamic Galleries**: Create grid, vertical scroll, or horizontal slider galleries out of self-hosted reels.
- **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, configure your options, and save. Copy the shortcode and paste it where you want the video to appear.

== Changelog ==

= 1.0.12 =
- Tested: Successfully with WordPress 7.0.2

= 1.0.11 =
- Enhanced: Redesigned the selection checkboxes on the single reels grid to be fully responsive and properly centered across all screen widths/resolutions.
- Fixed: Resolved vertical alignment of dashicon inside the select button in the gallery meta box.
- Changed: Lowered default Call-To-Action (CTA) font size fallback from 14px to 12px for cleaner UI and consistent display.

= 1.0.9 =
- Enhanced: Loading spinner displays cleanly with a transparent background directly over the video poster image.
- Enhanced: Handled various UI/UX edge cases for robust playback state management, ensuring smooth and stable interactions across all gallery modes.
- Fixed: Resolved video initialization issues in grid gallery layouts by strictly using the `loadeddata` event, ensuring videos are properly prepared before displaying.
- Enhanced: Engineered a predictive lazy loading mechanism for the UI, drastically optimizing performance and memory consumption.
- Fixed: Append reel type to Add New URL
- Fixed: Preview video not visible in select reels tab

= 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 =
- 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.

= 1.0.0 =
- Beta release.
