# Ritzy Client Player
[![](https://data.jsdelivr.com/v1/package/npm/@hwclass/ritzy/badge)](https://www.jsdelivr.com/package/npm/@hwclass/ritzy)

The client library which you can embed into your website/app & get your content to be listened to by your users.

### Install

```js
//  Import into your JS/TS project via CommonJS
require('@hwclass/ritzy');

//  or import into your JS/TS project via imports
import '@hwclass/ritzy';
```

```html
<!-- Import into your HTML file via script tag -->
<script src="https://cdn.jsdelivr.net/npm/@hwclass/ritzy@1.1.0/dist/index.min.js"></script>
```

### Usage

```js
// Add the web component somewhere which is visible for your users at the first sight
<ritzy-player selector="#ritzy-en-content" lang="en-EN"
      appId="<YOUR-APP-ID>"></ritzy-player>

// ...

// Define your id on the element which wraps the content
<div id="ritzy-en-content"> ... </>
```
