Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Plotly dash video (html.Video) load data uri in children

$
0
0

in a plotly dash app I would like to use the dash html.Video element.

One can use the src parameter in the html.Video object in order to set an url e.g. src=https://www.youtube.com/watch?v=aqz-KE-bpKQ(online) or src=.\static\big_bug_bunny.mp4(local).

When I use the dcc.Upload component, loading a video gives me a
data uri string of the form
data:audio/wav;base64,UklGRuR+JwNXQVZFZm10IBAAAAAB
(A familiar question how to parse that in python can be found here)

I would like to set the children component of html.Video directly instead of using the src component.

In which form do I have to bring the data uri string in order to set the children?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles