Appearance
Public Contract
Widget tag
html
<medyou-recorder
id="medyou-recorder"
client-key="bpk_your_publishable_key"
clinician-id="clinician_001"
patient-id="patient_001"
session-id="session_001">
</medyou-recorder>Required attributes
client-keyclinician-idpatient-idsession-id
Notes
client-keymust be a publishable key for the MedYou backend contract.clinician-id,patient-id, andsession-idshould be stable identifiers from the host system.- The widget emits public events on the widget element itself.
- Host applications should treat
processing-completedas the canonical final success event.
Runtime behavior
- Access bootstrap happens through
POST /access - Audio is captured or uploaded in the browser
- The SDK sends audio and runtime metadata to the backend
- Progress and results are exposed through public widget events