macros.htm: Add support to send progress to client on using play button

master
Felix Stupp 3 years ago
parent 66502e5c08
commit cb91ec1325
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -49,6 +49,7 @@
{% macro as_play_link(element) -%}
{%- set opts = {
"video_uri": element.uri,
"start": element.progress,
} -%}
<a class="button" href="entertainment-decider:///player/play?{{ opts | encode_options }}">Play</a>
{%- endmacro -%}

Loading…
Cancel
Save