itk-dev/itk_video
Composer 安装命令:
composer require itk-dev/itk_video
包简介
Module that provides Video integration
关键字:
README 文档
README
Module that supplies video integration through a dedicated itk_video field type.
- Supports CookieInformation
- Supports Videotool
- Supports Vimeo
How it works
The supported video providers are defined in SupportedVideoProvider.php. The definitions include
- host: Used to identify the provider from the supplied video URL.
- type: Used to determine if videoinformation should be retrieved bu this module (custom) or Oembed
- requiredCookies: The cookies that the provider sets when embedding a video from that provider. See CookieInformation about what categories are used.
If a provider is enabled in the module settings videos from this provider are displayed.
How to use
The module includes a permission to access the configuration page: "Administer ITK Video settings"
If allowed access the settings are set on /admin/config/media/itk-video.
Settings include:
- Respect limitations provided by cookieinformation.com
- Enable/disable supported video providers
Code
To check coding standards run the following commands:
Install dependencies:
docker compose run --rm phpfpm composer install
Check composer and security updates:
docker compose run --rm phpfpm composer normalize --dry-run docker compose run --rm phpfpm composer audit
Check assets:
docker compose run --rm prettier 'css/**/*.css' --check
Check php, code sniffer and code-analysis:
docker compose run --rm phpfpm vendor/bin/phpcs ./scripts/code-analysis
Check markdown and yaml:
docker compose run --rm markdownlint markdownlint '**/*.md' docker compose run --rm prettier '**/*.{yml,yaml}' --check
统计信息
- 总下载量: 5.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-20