=== Jassn Video Posts Feed Block ===
Contributors: jass345
Tags: video post, video player, video feed, video block, gutenberg block
Requires at least: 5.0
Tested up to: 7.1
Stable tag: 4.5.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display local video posts in a responsive grid feed with thumbnails, Plyr player, and download button.

== Description ==

**Jassn Video Posts Feed Block** is a custom Gutenberg block that turns your WordPress posts into a stunning video feed. It displays local videos (MP4, WebM, OGG) from your media library in a clean, responsive grid.

### Key Features

- **Modern Video Player** – Uses the lightweight Plyr player for a beautiful, accessible video experience.
- **Lazy Loading** – Videos load only when they scroll into view, boosting page speed.
- **Automatic Thumbnails** – Uses featured images as video posters (fallback to gradient placeholder).
- **Download Button** – A stylish gradient download button appears below the title for each video.
- **Media Gallery Integration** – Click "Select from Gallery" to choose a video from your media library.
- **Fully Responsive** – Works seamlessly on desktop, tablet, and mobile.
- **Gutenberg‑Native** – Configure number of posts, order (newest/oldest), and more.

### How It Works

1. Upload a video to your WordPress media library.
2. Add the video URL to any post using the "Video URL" meta box (sidebar).
3. Insert the **Jassn Video Feed** block into any page or post.
4. The block displays all posts that have a video URL, sorted by date.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install via the WordPress admin.
2. Activate the plugin.
3. Edit any post and scroll to the "Video URL" meta box in the sidebar.
4. Click "Select from Gallery" to pick a video from your media library.
5. Add the **Jassn Video Feed** block to any page or post and configure the settings.

== Frequently Asked Questions ==

= Can I use videos from my media library? =

Yes. Click the "Select from Gallery" button in the Video URL meta box.

= What video formats are supported? =

MP4, WebM, and OGG formats are supported.

= How do I add a thumbnail to a video? =

Set a **featured image** for the post – it will be used as the video poster.

= How can I change the number of videos shown? =

Edit the block and use the "Number of Videos" setting (max 20).

= Does the plugin work with YouTube or Vimeo? =

No. This plugin only supports local videos hosted on your own server.

== Screenshots ==

1. Frontend feed view showing video cards with thumbnails and download buttons.
2. Gutenberg editor block with settings panel.
3. Video URL meta box with gallery selection button.
4. Media library modal filtered to video files.
5. Mobile responsive layout.
6. Plyr video player in action.

== Changelog ==

= 4.5.1 =
* Initial public release.

== Credits ==

* **Plyr** – Licensed under MIT (https://github.com/sampotts/plyr)
