montri / youtube-video-field
A Field allowing you to add Youtube Videos to your Nova Resources!
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 439
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Vue
Requires
- php: ^7.3|^8.0
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.