@hwclass/ritzy
v1.3.2
Published
[![](https://data.jsdelivr.com/v1/package/npm/@hwclass/ritzy/badge)](https://www.jsdelivr.com/package/npm/@hwclass/ritzy)
Downloads
4
Readme
Ritzy Client Player
The client library which you can embed into your website/app & get your content to be listened to by your users.
Install
// Import into your JS/TS project via CommonJS
require('@hwclass/ritzy');
// or import into your JS/TS project via imports
import '@hwclass/ritzy';
<!-- Import into your HTML file via script tag -->
<script src="https://cdn.jsdelivr.net/npm/@hwclass/[email protected]/dist/index.min.js"></script>
Usage
// 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"> ... </>