该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

YT Portrait Video Embed Block

描述

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.

License

This plugin is licensed under the GPLv2 or later. For more details, visit GPL License.

区块

该插件提供了 1 个区块.

  • YouTube Portrait Video Embed

安装

  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.

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

「YT Portrait Video Embed Block」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.0

  • Initial release.