stevelacey/nova-vimeo-field

A Laravel Nova Vimeo field.

Installs: 1 673

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 8

Language:Vue

2.1.0 2022-06-13 12:35 UTC

This package is auto-updated.

Last update: 2024-10-13 17:17:49 UTC


README

Latest Version on Packagist Software License Total Downloads

Laravel Nova Vimeo field stores the id out of any given Vimeo link/embed, and renders a player.

Installation

composer require stevelacey/nova-vimeo-field

Usage

Define the following fields in your resource in the fields method:

use SteveLacey\NovaVimeoField\Vimeo;

...

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

Screenshot

Vimeo player