=== YT Portrait Video Embed Block ===
Contributors: teamtp
Tags: youtube, portrait, video, embed, responsive video
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A Gutenberg block for embedding portrait YouTube videos in posts or pages.

== Description ==
YT Portrait Video Embed Block allows users to add stunning portrait YouTube videos to their posts or pages using a custom Gutenberg block. The block supports portrait aspect ratio videos with responsive sizing for different screen sizes. Simply enter a YouTube Video ID in the block settings to embed the video.

== Third-Party Service ==
This plugin relies on the YouTube Data API, a third-party service provided by Google. The plugin registers the YouTube iframe API script to enable video embedding and playback.

**Links:**
- YouTube API Service: https://developers.google.com/youtube/v3
- YouTube API Terms of Service: https://developers.google.com/youtube/terms/api-services-terms-of-service
- YouTube Privacy Policy: https://www.youtube.com/t/privacy

**Key Features:**
- Embed stunning Portrait YouTube videos with custom aspect ratios.
- Responsive design for optimal viewing on mobile and desktop.
- Easy-to-use block interface in the Gutenberg editor.

== Installation ==
1. Upload the `yt-portrait-video-embed-block` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Use the block by opening the Gutenberg editor and selecting the "YouTube Portrait Video Embed" block.

== Frequently Asked Questions ==

= How do I use the plugin? =
1. After activation, go to the post or page editor.
2. Add the "YouTube Portrait Video Embed" block.
3. In the block settings, enter the YouTube video ID and see a preview of the video in the editor.

= What is the YouTube Video ID? =
The YouTube Video ID is the unique part of the video URL. For example, in `https://www.youtube.com/watch?v=abc123`, the ID is `abc123`.

= Can I customize the video size? =
Yes, the block automatically adjusts the video size based on the screen size and keeps a responsive aspect ratio.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==
= 1.0.0 =
First release of the plugin.

== License ==
This plugin is licensed under the GPLv2 or later. For more details, visit [GPL License](https://www.gnu.org/licenses/gpl-2.0.html).
