maveio/statamic-mave

A Statamic addon to use Mave videos in your Statamic site.

Installs: 47

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 3

Language:Vue

Type:statamic-addon

dev-main 2024-06-11 13:58 UTC

README

A Statamic plugin for mave.io.

Based on statamic-iconify

License

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

How to Install

Run the following command from your project root:

composer require maveio/statamic-mave

In order for the field to work, you must add a mave.io API key and collection ID to your .env file like this:

MAVE_KEY=
MAVE_SUB=
MAVE_THEME=
MAVE_UPLOAD=false

Add the following to your Antlers template:

<script type="module">
  import { Player } from "//cdn.video-dns.com/npm/@maveio/components/+esm";
</script>
<mave-player embed="{{ mave_field }}"></mave-player>

Development

vite build --watch
composer require maveio/statamic-mave