Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 632 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 632 Bytes

Laravel Nova Youtube Field

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')