=== FlickShow Viewer ===
Contributors: helaluddin2k
Tags: video slider, youtube slider, video gallery, autoplay slider, wedding video
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Center-focus video slider for YouTube, Vimeo & MP4. Auto-plays when centered. Customize fonts, colors, sizes & playback. Includes Elementor widget.

== Description ==

**FlickShow Viewer** is a stunning, luxury-styled center-focus video slider. The video in the center position plays automatically and pauses when scrolled away. Everything is customizable directly from the WordPress admin — no coding required.

**Features:**

* ✅ YouTube, Vimeo, and direct MP4 / WebM support
* ✅ Center video auto-plays, pauses when scrolled away
* ✅ **Default Muted / Unmuted** — controllable from Settings
* ✅ **Typography controls** — font family, size, color for heading and sub-heading
* ✅ **Responsive font sizes** — separate controls for Desktop, Tablet, and Mobile
* ✅ **Color controls** — accent color, background color, text colors
* ✅ **Slider dimensions** — slide width, height, active scale, gap, border radius
* ✅ **Playback settings** — autoplay on/off, loop on/off, show/hide player controls
* ✅ Glitch-free CSS scale transitions (zero layout reflow)
* ✅ Gold-accent luxury design with animated corner decorations
* ✅ YouTube auto-thumbnail detection
* ✅ Keyboard navigation (← →)
* ✅ Touch / swipe support for mobile
* ✅ Accessible — ARIA labels, focus-visible styles, live regions
* ✅ Multiple sliders on same page supported
* ✅ Simple shortcode: `[flickshow_viewer]`
* ✅ Clean uninstall — removes all data on delete

**Usage:**

1. Go to **Settings → FlickShow Viewer** and add your video URLs.
2. Customize fonts, colors, and playback settings.
3. Paste `[flickshow_viewer]` into any page or post.

**Supported video URL formats:**

* `https://www.youtube.com/watch?v=XXXXXXXXXXX`
* `https://youtu.be/XXXXXXXXXXX`
* `https://www.youtube.com/shorts/XXXXXXXXXXX`
* `https://vimeo.com/123456789`
* `https://example.com/video.mp4`

== Installation ==

1. Upload the `flickshow-viewer` folder to `/wp-content/plugins/`.
2. Activate via the **Plugins** menu in WordPress.
3. Go to **Settings → FlickShow Viewer** to configure.
4. Add `[flickshow_viewer]` to any page or post.

Or install directly from the plugin directory:

1. Go to **Plugins → Add New**.
2. Search for **FlickShow Viewer**.
3. Click **Install Now**, then **Activate**.

== Frequently Asked Questions ==

= Does it support YouTube? =
Yes. Paste any YouTube URL (youtube.com/watch, youtu.be, or Shorts). The plugin automatically extracts the video ID, generates a thumbnail, and handles autoplay via the YouTube iframe API.

= Why does YouTube start muted before unmuting? =
Browsers block unmuted autoplay by security policy. FlickShow Viewer works around this: it starts muted (which browsers allow), then unmutes after ~800ms — so sound plays automatically. You can also enable "Default Muted" in Settings to keep videos muted.

= Can I control whether videos start muted? =
Yes. Go to **Settings → FlickShow Viewer → Playback** and toggle "Default Muted" on or off.

= Can I change the font? =
Yes. Go to **Settings → FlickShow Viewer → Typography** to choose font family, size, and color for both the heading and sub-heading. Sizes can be set separately for Desktop, Tablet, and Mobile.

= Can I change colors? =
Yes. The **Colors** tab in Settings controls the accent color, accent light color, and background color.

= Can I use MP4 files from my server? =
Yes. Paste the direct `.mp4` file URL in the Video URL field.

= Does it work on mobile? =
Yes. Touch swipe is supported and font sizes have separate mobile controls.

= Can I place multiple sliders on one page? =
Yes, each `[flickshow_viewer]` shortcode instance runs independently.

= Does the plugin load on every page? =
No. Assets are only loaded on pages that contain the `[flickshow_viewer]` shortcode.

== Screenshots ==

1. Frontend slider — center video playing with gold accent border.
2. Videos tab — add YouTube, Vimeo, or MP4 URLs.
3. Typography tab — control fonts, sizes (per device), and colors.
4. Colors tab — customize accent and background colors.
5. Slider tab — control dimensions and scale.
6. Playback tab — mute, autoplay, loop, and controls settings.

== Changelog ==

= 1.0.0 =
* Initial release.
* YouTube, Vimeo, and MP4 support.
* Full typography controls (font family, size per device, color).
* Full color customization.
* Slider dimension controls.
* Playback settings (mute, autoplay, loop, controls).
* Glitch-free CSS scale transitions.
* Keyboard and touch navigation.
* Accessible ARIA markup.
* Clean uninstall.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
