0.8.0 • Published 8 months ago

@kamiapp/media v0.8.0

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

<kami-media>

This component is designed to display and play all types of media files including images, videos, and audio files. It also allow you to display pdf using kami-pdf. To use it, just a src attribute is needed with your file path.

Usage

Install the component using npm or yarn or pnpm :

$ npm install --save @kamiapp/media

Import the component into your main js/ts file :

import '@kamiapp/media';

And use the component directly into your html :

<kami-media src="/img/egypte.jpg"></kami-media>

Documentation

To get more informations about this component you can go to the kami-media section into the kami collection site web. See the documentation at collection.kamiapp.fr to get more information about how to use each components. You will also find a playground section to test all components.