Installation
🏷️ System requirements
Softwares / Frameworks
Version
💠 The QuML player for the Sunbird!
📑 Getting started with integration steps
Use as web components 🌏
<script type="text/javascript" src="sunbird-quml-player.js"></script>const qumlPlayerElement = document.createElement('sunbird-quml-player');qumlPlayerElement.setAttribute('player-config', JSON.stringify(playerConfig));window.questionListUrl = 'https://dev.inquiry.sunbird.org/api/question/v2/list';qumlPlayerElement.addEventListener('playerEvent', (event) => { console.log("On playerEvent", event); }); qumlPlayerElement.addEventListener('telemetryEvent', (event) => { console.log("On telemetryEvent", event); });const myPlayer = document.getElementById("my-player"); myPlayer.appendChild(qumlPlayerElement);
Use as web component in the Angular app
Use as Angular library in Angular app
🏷️ Installation
Manual installation
🏷️ Send input to render QuML player
🟠 Available components
Feature
Notes
Selector
Code
Input
Output
🔻 Input Parameters
🔻 Output Events
🏷️ Run the application
📑 QuML Player Contribution Guide
Repo Setup
Last updated
Was this helpful?