maveio/statamic-mave
最新稳定版本:1.0.2
Composer 安装命令:
composer require maveio/statamic-mave
包简介
A Statamic addon to use Mave videos in your Statamic site.
README 文档
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
统计信息
- 总下载量: 247
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-27