An Audio Player component is used to play audio. It accepts a url as its value.
To add a Star Rating to your app screen:
- Select the Audio Player component from the Components drawer. You can open the list of components by clicking the
+button next to Components.
- In the Data tab (third tab) in the Properties Panel, add the URL of the Audio file to be played.
In the example above, we're adding a static audio file URL in the
URL input data tab. This input field also accepts data variables when placed inside curly braces
Using a variable name in the input field is useful when the data comes from a REST API endpoint. That way, you can select the dynamic value from the dropdown under Variables.
|Component Name||To alter the name of the component. The name is reflected in the Components tree. Defaults to Audio Player.|
Updated 4 months ago