=== FastPix.io ===
Contributors: fastpix
Tags: video, embed, fastpix, streaming, video-hosting
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Upload, manage, and embed videos using FastPix.io's powerful video hosting platform directly from your WordPress dashboard.

== Description ==

FastPix.io is a comprehensive WordPress plugin that integrates seamlessly with [FastPix.io](https://fastpix.io) to provide professional video hosting and streaming capabilities for your WordPress website.

= Key Features =

* **Easy Video Upload**: Upload videos directly from your WordPress admin dashboard
* **Flexible Video Options**: Configure privacy settings, quality tiers, and MP4 generation
* **Automatic Subtitles**: Generate subtitles automatically in multiple languages
* **Custom Subtitles**: Upload custom subtitle files (VTT, SRT, SSA formats)
* **Video Library**: Manage all your videos from a centralized library
* **Shortcode Support**: Embed videos anywhere using simple shortcodes
* **Responsive Player**: Videos automatically adapt to different screen sizes
* **Secure Streaming**: Support for both public and private video access
* **API Integration**: Full integration with FastPix.io REST API

= Supported Video Formats =

* **MP4** (.mp4) - Most common format
* **WebM** (.webm) - Modern web format
* **QuickTime** (.mov) - Apple format
* **AVI** (.avi) - Windows format
* **WMV** (.wmv) - Windows Media Video
* **FLV** (.flv) - Flash Video
* **F4V** (.f4v) - Flash Video 4
* **Matroska** (.mkv) - Open source container
* **M4V** (.m4v) - iTunes video format
* **MPEG** (.mpeg, .mpg) - Standard video format
* **OGV** (.ogv) - Ogg video format
* **3GP** (.3gp) - Mobile video format
* **3G2** (.3g2) - Mobile video format
* **ASF** (.asf) - Advanced Systems Format
* **DivX** (.divx) - DivX codec format
* **DV** (.dv) - Digital Video format
* **RealVideo** (.rv) - Real Networks format
* **Motion JPEG 2000** (.mj2) - Motion JPEG format
* **MPEG Transport Stream** (.ts) - Broadcast format
* **HLS** (.m3u8) - HTTP Live Streaming

**Maximum file size**: 5GB per video

= Subtitle Support =

* **Auto-generated subtitles** in multiple languages: English, Spanish, Italian, Portuguese, German, French
* **Custom subtitle files** in VTT, SRT, and SSA formats

= Third-Party Service =

This plugin connects to FastPix.io's API to upload and manage videos. A FastPix.io account is required.

* Service: [FastPix.io](https://fastpix.io)
* Terms of Service: [FastPix.io Terms](https://fastpix.io/terms)
* Privacy Policy: [FastPix.io Privacy](https://fastpix.io/privacy)

== Installation ==

= Automatic Installation =

1. Go to your WordPress admin dashboard
2. Navigate to **Plugins > Add New**
3. Search for "FastPix.io"
4. Click **Install Now** and then **Activate**

= Manual Installation =

1. Download the plugin ZIP file
2. Upload the ZIP file through **Plugins > Add New > Upload Plugin**
3. Activate the plugin through the **Plugins** menu

= Configuration =

1. Sign up for a [FastPix.io](https://fastpix.io) account
2. Get your API Key and API Secret from your FastPix.io dashboard
3. Go to **FastPix.io > Settings** in your WordPress admin
4. Enter your API credentials
5. Click **Save Settings**

== Usage ==

= Uploading Videos =

1. Go to **FastPix.io > Upload Video**
2. Drag and drop your video file or click **Browse Files**
3. Configure video options (privacy, quality, subtitles, MP4 generation)
4. Click **Start Upload**

= Embedding Videos =

Use the shortcode: `[fastpix-io playback_id="YOUR_PLAYBACK_ID" width="640" height="360"]`

= Shortcode Parameters =

* `playback_id` (required): The unique playback ID from FastPix.io
* `width` (optional): Video width in pixels or percentage (default: 100%)
* `height` (optional): Video height in pixels or percentage (default: 100%)

== Frequently Asked Questions ==

= Do I need a FastPix.io account? =

Yes, you need a FastPix.io account to use this plugin. FastPix.io provides the video hosting and streaming infrastructure.

= What's the maximum file size for uploads? =

The plugin supports video files up to 5GB using direct browser-to-cloud upload. Files are uploaded directly from the browser to Google Cloud Storage, bypassing server limitations.

= Can I use private videos? =

Yes, the plugin supports both public and private video access policies. Private videos require signed URLs for playback.

= Is there a cost to use FastPix.io? =

FastPix.io offers various pricing plans. Please check their website for current pricing information.

= How do I get support? =

For plugin-related issues, please use the WordPress support forum. For FastPix.io service issues, contact FastPix.io support.

== Screenshots ==

1. Settings page - Configure your FastPix API credentials
2. Upload interface - Drag and drop video upload with options
3. Video library - Manage all your uploaded videos
4. Video details modal - View video information and manage subtitles
5. Shortcode generator - Copy shortcodes for embedding

== Changelog ==

= 1.0.0 =
* Initial release
* Video upload functionality
* Video library management
* Shortcode embedding
* Subtitle support (auto-generated and custom)
* Privacy controls
* MP4 generation options
* Responsive video player
* WordPress 6.4 compatibility

== Upgrade Notice ==

= 1.0.0 =
Initial release of the FastPix plugin.

== Requirements ==

* WordPress 5.0 or higher
* PHP 7.4 or higher
* FastPix.io account with API credentials
* cURL extension enabled
* OpenSSL extension enabled 