Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 697 Bytes

readme.md

File metadata and controls

38 lines (27 loc) · 697 Bytes

Nova Vimeo Field

Vimeo player

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require tanjemark/nova-vimeo-field

Usage

use Tanjemark\Fields\Vimeo;

Vimeo::make('Vimeo field name'),

The field extends the base Laravel\Nova\Fields\Field, so all the usual methods are available.

Options

With meta

use Tanjemark\Fields\Vimeo;

Vimeo::make('Vimeo field name')
    ->withMeta([
        'options' => [
            'width' => 640,
            'height' => 360,
        ]
    ]);

License

The MIT License (MIT). Please see License File for more information.