jonnitto/prettyembedvideoplatforms
Composer 安装命令:
composer require jonnitto/prettyembedvideoplatforms
包简介
Prettier embeds for your YouTube and Vimeo videos and playlists in Neos CMS - with nice options like high-res preview images, lightbox feature and advanced customization of embed options.
README 文档
README
Jonnitto.PrettyEmbedVideoPlatforms
For a detail guide, please visit the PrettyEmbed Wiki
Prettier embeds for your Vimeo videos and YouTube videos/playlists in Neos CMS - with helpful options like high-res preview images, lightbox feature, and advanced customization of embed options.
| Version | Neos | Maintained |
|---|---|---|
| 1.* | 4.2.*, > 5 | ✗ |
| 2.* | >= 5.3 | ✗ |
| 3.* | >= 5.3 | ✗ |
| 6.* | >= 7.3 | ✓ |
The version jump was made to have all packages from the PrettyEmbed series on the same number
Installation
Most of the time, you have to make small adjustments to a package (e.g., configuration in Settings.yaml). Because of
that, it is essential to add the corresponding package to the composer from your theme package. Navigate to this package
in your CLI and run the following command:
composer require jonnitto/prettyembedvideoplatforms --no-update
The --no-update command prevent the automatic update of the dependencies. After the package was added to your package
composer.json, go back to the root of the Neos installation and run composer update. Et voilà! Your desired package
is now installed correctly.
FAQ
What are the differences from the PrettyEmbed series to Jonnitto.Plyr?
| PrettyEmbed series | Plyr | |
|---|---|---|
| YouTube Video | ✓ | ✓ |
| YouTube Playlist | ✓ | |
| Vimeo | ✓ | ✓ |
| Native Audio | ✓ | ✓ |
| Native Video | ✓ | ✓ |
| Advanced captions for native video | ✓ | |
| Preview image | ✓ | |
| Lightbox included | ✓ | |
| Preview image (for videos) | ✓ | |
| Javascript API | ✓ | ✓ |
| Filesize (JS & CSS) | smaller | bigger |
All packages from the PrettyEmbed series have the benefit of a better frontend performance since the player gets only loaded on request. So, no iframe/video gets loaded until the user wants to watch a video.
Merge PrettyEmbedYoutube and PrettyEmbedVimeo
If you want existing nodes from PrettyEmbedYoutube and PrettyEmbedVimeo use this package,
you have to run following command in your cli:
./flow node:migrate --version 20200420033756
After this migration you have to flush your frontend cache:
./flow cache:flushone --identifier Neos_Fusion_Content
PrettyEmbedCollection
This package is member of the PrettyEmbedCollection which contains following packages:
If you install the PrettyEmbedCollection, the video players get grouped into an own group in the node-inspector; otherwise, they will be in the default group.
jonnitto/prettyembedvideoplatforms 适用场景与选型建议
jonnitto/prettyembedvideoplatforms 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 61.46k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2020 年 04 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「flow」 「youtube」 「vimeo」 「video」 「Neos」 「contentelement」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 jonnitto/prettyembedvideoplatforms 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jonnitto/prettyembedvideoplatforms 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 jonnitto/prettyembedvideoplatforms 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP helper for embedding YouTube and Vimeo videos
Easy to use SDK with grabber for multiple platforms at once like YouTube, Dailymotion, Facebook and more.
Put images nicley in a row
Create link to static resources with cache-breaking segment based on md5 of the file
♺ Laravel Nova Hashids card. Convert your ids.
getting and sending flow
统计信息
- 总下载量: 61.46k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 39
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2020-04-20