montri/youtube-video-field
最新稳定版本:v1.0.01
Composer 安装命令:
composer require montri/youtube-video-field
包简介
A Field allowing you to add Youtube Videos to your Nova Resources!
README 文档
README
This is a short little package, allowing you to include Youtube videos in your Nova Resources within Nova 4!
Installation
# Install the Package
composer require montri/nova-youtube-field
Usage
use Montri\VideoYoutube\VideoYoutube; ... VideoYoutube::make('Youtube Video', 'url') // Video with Name and attribute VideoYoutube::make('Youtube Video', 'url')->onlyAllowValidLinks(bool) // Only Allow real Youtube Links on Form VideoYoutube::make('Youtube Video', 'url')->clickable(bool)->openInSameTab(bool) // Make Video in Index View clickable and if yes, open in new or same tab. VideoYoutube::make('Youtube Video', 'url')->withWidth(int)->withHeight(int) // Sets Width and Height of Video in Detail View. // All Methods are optional.
Screenshots
Down here you can see some screenshots on how the bot sends messages.
License
统计信息
- 总下载量: 442
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-20