# Connect Video Timeline and GPIO port
# connect led or relay in pin BCM15
#
IOT_out 15 off
#-------------
make_sub vid
sub vid IOTout 15 on
sub vid sleep 5
sub vid IOT_out 15 off
#---------------------
videoplayer_dimension 720 400
videoplayer_xy 300 100
video_id vid
video_ctrl id_vid 00:00:10 process vid
video_ctrl id_vid 00:00:20 process vid
video_player https://www.youtube.com/watch?v=auKx_eLAwc4
end_script