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

v1.3.4 2020-02-07 10:27 UTC

This package is auto-updated.

Last update: 2024-11-07 20:50:07 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.