media24si/nova-youtube-field

A Laravel Nova Youtube field.

v1.0 2018-09-16 10:45 UTC

This package is auto-updated.

Last update: 2024-12-17 01:12:52 UTC


README

Laravel Nova Youtube field enables to save youtube links/embeds/id DB.

This field will only save YouTube video ID to DB. It will try to parse a link to get an ID. If it can't find an ID, it will just save a value.

screenshot of the nova-youtube-field

Installation

Composer

composer require media24si/nova-youtube-field

Usage

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

use Media24si\NovaYoutubeField\Youtube;

...

Youtube::make('Video')