filepond-plugin-media-preview

WebJar for filepond-plugin-media-preview

Лицензия

Лицензия

MIT
Категории

Категории

Github Инструменты разработки Контроль версий
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

github-com-nielsboogaard-filepond-plugin-media-preview
Последняя версия

Последняя версия

1.0.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

filepond-plugin-media-preview
WebJar for filepond-plugin-media-preview
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/nielsboogaard/filepond-plugin-media-preview

Скачать github-com-nielsboogaard-filepond-plugin-media-preview

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-nielsboogaard-filepond-plugin-media-preview/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-nielsboogaard-filepond-plugin-media-preview</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-nielsboogaard-filepond-plugin-media-preview/
implementation 'org.webjars.npm:github-com-nielsboogaard-filepond-plugin-media-preview:1.0.4'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-nielsboogaard-filepond-plugin-media-preview/
implementation ("org.webjars.npm:github-com-nielsboogaard-filepond-plugin-media-preview:1.0.4")
'org.webjars.npm:github-com-nielsboogaard-filepond-plugin-media-preview:jar:1.0.4'
<dependency org="org.webjars.npm" name="github-com-nielsboogaard-filepond-plugin-media-preview" rev="1.0.4">
  <artifact name="github-com-nielsboogaard-filepond-plugin-media-preview" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-nielsboogaard-filepond-plugin-media-preview', version='1.0.4')
)
libraryDependencies += "org.webjars.npm" % "github-com-nielsboogaard-filepond-plugin-media-preview" % "1.0.4"
[org.webjars.npm/github-com-nielsboogaard-filepond-plugin-media-preview "1.0.4"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Media Preview plugin for FilePond

License: MIT npm version

The Media Preview plugin will kick in automatically when the uploaded file is of type video or audio and render a preview player inside the file item.

Quick Start

Install using npm:

npm install filepond-plugin-media-preview

Then import in your project:

import * as FilePond from 'filepond';
import FilePondPluginMediaPreview from 'filepond-plugin-media-preview';

Register the plugin:

FilePond.registerPlugin(FilePondPluginMediaPreview);

Create a new FilePond instance as normal.

const pond = FilePond.create({
    name: 'filepond'
});

// Add it to the DOM
document.body.appendChild(pond.element);

The preview will become active when uploading an video or audio file.

Default styles

Be sure to include this lib's styles, by importing the minified css.

import 'filepond-plugin-media-preview/dist/filepond-plugin-media-preview.min.css';

Demo

View the demo

Версии библиотеки

Версия
1.0.4