1.3.2 • Published 3 years ago
@hwclass/ritzy v1.3.2
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/ritzy@1.1.0/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"> ... </>