Drag and drop widget into your page.
===== Input parameters =====
- Audio_URL (Text) *Mandatory
- Image_URL (Text)
- IsList (Boolean) -> Setting to True will display widget as row. If False, widget will appear as column.
- IsAutoPlay (Boolean) *Mandatory
- CustomDuration (Decimal in seconds)
= Input parameters END =====
===== Local Variables =====
- IsPlaying (Boolean) -> Updated whenever audio is playing or not.
- AudioObj (Object) -> Holds audio object to manage play / pause, stop, rewind actions.
- HasError (Boolean) -> Checks after audio load, if can be played or not.
- CurrProgress2 (Decimal) -> Current audio progress. Used for Range Slider.
- Duration (Decimal) -> Total duration of the audio. Used for Range Slider's Max property.
===== Local Variables END =====