=== Plays Block - Audio-video broadcast player with social features ===
Contributors: wooscroll
Tags: play, player, video, audio, radio
Requires at least: 7.0
Requires PHP: 7.4
Tested up to: 7.1
Stable tag: 1.0.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Play any post type

== Description ==

Audio, Radio, Video player with social features

Features include:
* Audio, Radio, Video player
* Ajax load page
* Login/Signup
* Playlist/Like/Follow/Notification social features
* (Google/OpenAI/Elevenlabs) AI text-to-speech

== Installation ==

= Automatic installation =

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of this plugin, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “Plays Block” and click Search Plugins. Once you’ve found our plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

= Manual installation =

The manual installation method involves downloading our plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains [instructions on how to do this here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).

= Updating =

Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

== Frequently Asked Questions ==

Please visit the [FAQs page](https://avtheme.com/) on our website for the most common issues.

== Screenshots ==

== External Services ==

This plugin connects to several third‑party services to provide its core functionality. For each service, we list what it does, what data is sent, when it is sent, and provide links to the service’s Terms of Service and Privacy Policy.

### 1. Google YouTube Data API v3
- **Purpose**: To fetch video details (title, duration, thumbnails, statistics) when users import YouTube content or embed a YouTube video in the player.
- **Data Sent**: The YouTube video ID(s), your plugin’s API key (provided by the site administrator), and the requested video metadata fields.
- **When**: Every time a YouTube video is loaded or imported via the plugin’s interface.
- **Terms of Service**: https://developers.google.com/youtube/terms/api-services-terms-of-service
- **Privacy Policy**: https://policies.google.com/privacy

### 2. ElevenLabs Text‑to‑Speech API
- **Purpose**: To retrieve the list of available voices for text‑to‑speech conversion, allowing users to select a preferred voice.
- **Data Sent**: The request includes the API key (configured by the admin) and may transmit the user’s selected language/preferences when fetching voices.
- **When**: When the voice selection dropdown is loaded in the admin interface (or on page load if the widget is active).
- **Terms of Service**: https://elevenlabs.io/terms
- **Privacy Policy**: https://elevenlabs.io/privacy

### 3. HearThis.at API
- **Purpose**: To resolve and play audio tracks hosted on HearThis.at within the player.
- **Data Sent**: The HearThis track URL (publicly shared) is transformed to an API endpoint to obtain the actual audio file URL.
- **When**: When a user plays a HearThis track using the player.
- **Terms of Service**: https://hearthis.at/nutzungsbedingungen/
- **Privacy Policy**: https://hearthis.at/datenschutz/

### 4. Mixcloud API & Widget
- **Purpose**: To fetch Mixcloud track data and embed the Mixcloud widget player for tracks hosted on Mixcloud.
- **Data Sent**: The Mixcloud track URL (public) is used to construct API requests; the widget iframe loads with the public track identifier. No personal user data is sent.
- **When**: When a Mixcloud track is loaded or played via the plugin.
- **Terms of Service**: https://www.mixcloud.com/terms/
- **Privacy Policy**: https://www.mixcloud.com/privacy/

### 5. Spotify Embed API
- **Purpose**: To embed the Spotify player for podcast episodes or music tracks hosted on Spotify.
- **Data Sent**: The Spotify podcast/episode ID (public) is passed to the embed iframe. No personal user data is transmitted.
- **When**: When a Spotify track or podcast episode is loaded in the player.
- **Terms of Service**: https://developer.spotify.com/terms/
- **Privacy Policy**: https://www.spotify.com/legal/privacy-policy/

### 6. Vimeo Player API
- **Purpose**: To embed and control Vimeo video playback (play, pause, progress, etc.) within the plugin’s player.
- **Data Sent**: The Vimeo video ID (public) is passed to the embedded iframe player. No personal user data is sent.
- **When**: When a Vimeo video is loaded or played via the plugin.
- **Terms of Service**: https://vimeo.com/terms
- **Privacy Policy**: https://vimeo.com/privacy

### 7. SoundCloud Widget API / oEmbed
- **Purpose**: To embed SoundCloud audio players for tracks, playlists, or user content hosted on SoundCloud.
- **Data Sent**: The SoundCloud track URL (public) is used to generate the embed code via the oEmbed endpoint (`api.soundcloud.com/oembed`). No authentication is required, and no personal user data is sent.
- **When**: When a SoundCloud track is loaded or played via the plugin.
- **Terms of Service**: https://developers.soundcloud.com/docs/api/terms-of-use
- **Privacy Policy**: https://soundcloud.com/privacy-policy

### 8. avtheme.com Extension Service (Self‑hosted by the plugin author)
- **Purpose**: To check for plugin updates, extensions, or add‑on information from the author’s own server.
- **Data Sent**: No personal user data is sent.
- **When**: When admin visit the extension page.
- **Terms of Service**: https://avtheme.com/terms-of-service/
- **Privacy Policy**: https://avtheme.com/privacy/

== Changelog ==
