Описание
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
Установка
- Upload the
yt-portrait-video-embed-blockfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Use the block by opening the Gutenberg editor and selecting the «YouTube Portrait Video Embed» block.
Часто задаваемые вопросы
-
How do I use the plugin?
-
- After activation, go to the post or page editor.
- Add the «YouTube Portrait Video Embed» block.
- 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 isabc123. -
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» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «YT Portrait Video Embed Block» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.0.0
- Initial release.
