hd-progress
How far a track is: a thin bar with the time played and the time left, counting on every second while it plays (players report their position only now and then). Parts: ::part(bar), ::part(times).
| Attribute | What it is |
|---|---|
positionrequired | Seconds played when it was last reported. Or a live capability of any device, followed: {{ settings.x.cap.measure_power }}. |
durationrequired | Length in seconds. Or a live capability of any device, followed: {{ settings.x.cap.measure_power }}. |
at | When the position was reported (ISO), to count on from. |
playing | Playing: count on by itself.Default false. |
<hd-progress position="{{ cap.speaker_position }}" duration="{{ cap.speaker_duration }}" at="{{ cap.speaker_position.lastUpdated }}"{% if cap.speaker_playing.value %} playing{% endif %}></hd-progress>