dewsign / video-repeater
A video repeater block for [Dewsign's Nova Repeater Blocks](https://github.com/dewsign/nova-repeater-blocks) to output a video from a specific platform
Installs: 157
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:boilerplate
Requires
- php: >=7.0.0
- dereuromark/media-embed: ^0.4.4
- dewsign/nova-repeater-blocks: ^1.3
- laravel/framework: >=5.0.0
- laravel/nova: *
Requires (Dev)
- squizlabs/php_codesniffer: >=3.1
This package is auto-updated.
Last update: 2024-12-07 21:01:10 UTC
README
A video repeater block for Dewsign's Nova Repeater Blocks to output a video from a specific platform.
Installation & Usage
composer require dewsign/video-repeater
php artisan migrate
Within your repeater types add the Video
public function types(Request $request) { return [ ... Dewsign\VideoRepeater\Nova\Video::class, ]; }
Video Platforms
Out of the box, the default platform view template will convert any video link into its respective iframe embed snippet. If you wish to have more control over how videos from certain platforms are displayed, you can create a custom platform blade template.
To do this, create a new blade in the /views/vendor/video-repeater/platforms
resource folder.