-
Guide
Tags
API
What's new
tags
- Introduction
Objects
- Audio
- AudioPlus
- HyperText
- Image
- Paragraphs
- Text
- TimeSeries
Controls
- BrushLabels
- Choice
- Choices
- Ellipse
- EllipseLabels
- HyperTextLabels
- KeyPoint
- KeyPointLabels
- Label
- Labels
- List
- Pairwise
- ParagraphLabels
- Polygon
- PolygonLabels
- Ranker
- Rating
- Rectangle
- RectangleLabels
- Relation
- Relations
- Shortcut
- TextArea
- Taxonomy
- TimeSeriesLabels
- Filter
Visual
- Header
- Style
- Table
- View
AudioPlus
AudioPlus tag plays audio and shows its wave
Parameters
Param | Type | Default | Description |
---|---|---|---|
name | string |
name of the element | |
value | string |
value of the element | |
[volume] | boolean |
false |
show the volume slider (from 0 to 1) |
[speed] | boolean |
false |
show the speed slider (from 0.5 to 3) |
[zoom] | boolean |
true |
show the zoom slider |
[hotkey] | string |
hotkey used to play/pause audio |
Example
<View>
<Labels name="lbl-1" toName="audio-1">
<Label value="Hello" />
<Label value="World" />
</Labels>
<Rating name="rate-1" toName="audio-1" />
<AudioPlus name="audio-1" value="$audio" />
</View>