✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

How to start a video from a timestamp

I’m having trouble displaying a video from a timestamp that is entered by a user.
I have something like this:

import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output

external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']

app = dash.Dash(__name__, external_stylesheets=external_stylesheets)

app.layout = html.Div([
    html.H6("Please input the timestamp!"),
    html.Div(["Input: ",
              dcc.Input(id='my-input', value='initial value', type='text')]),
    html.Br(),
    html.Div(id='my-output'),
    html.Video(id= 'vid-test',src='/static/test.mp4',controls=True,(<---- need help with---->currentTime=*)

])


@app.callback(
    Output(component_id='my-output', component_property='children'),
    [Input(component_id='my-input', component_property='value')]
)
def update_output_div(input_value):
    return 'Output: {}'.format(input_value)
<---------need help with -------->
@app.callback(
	Output(component_id='vid-test', component_property='children'),
	[Input(component_id='my-input', component_property='value')]
)

if __name__ == '__main__':
    app.run_server(debug=True)