kanopi / remote-video-youtube-lite
配置远程视频媒体实体以使用 Lite YouTube 嵌入。
1.0.1
2024-03-09 13:56 UTC
Requires
- drupal/lite_youtube_embed: *
- npm-asset/lite-youtube-embed: *
README
配置远程视频媒体实体以使用 Lite YouTube 嵌入。
配置 Drupal 以应用配方
查看 https://www.drupal.org/files/issues/2023-10-01/Configuring%20Drupal%20to%20Apply%20Recipes.md
安装此配方
composer require kanopi/remote-video-youtube-lite
注意
此配方需要保存到 Drupal 库中的 YouTube Lite Embed npm 包。
确保您的项目 composer.json 文件设置如下
"extra": {
"installer-types": [
"npm-asset"
],
"installer-paths": {
"web/libraries/{$name}": [
"type:drupal-library",
"type:npm-asset"
],
}
}
应用此配方
从您的网站根目录运行
php core/scripts/drupal recipe recipes/contrib/remote-video-youtube-lite
然后运行 drush cr
如果您在项目中使用了我们的 Docksal 命令,请运行
fin recipe-apply remote-video-youtube-lite
解压此配方
要解压此配方依赖项到您的站点 composer.json 中,在您的项目根目录下运行
composer unpack kanopi/remote-video-youtube-lite
如果您在项目中使用了我们的 Docksal 命令,请运行
fin recipe-unpack kanopi/remote-video-youtube-lite
已知问题
N/A