okld

Results 12 comments of okld

You can provide [custom `src` and `type`](https://github.com/CookPete/react-player#multiple-sources-and-tracks) as URL to ReactPlayer, which allows you to play a local video encoded in base64. The following sample reads your video locally, encodes...

Hello @whitphx, I managed to get callbacks working on custom components with some hacks. Let me know if that works with you: https://gist.github.com/okld/1a2b2fd2cb9f85fc8c4e92e26c6597d5

Hello @imadhaj, Which version of Streamlit are you using?

Hello @yubeizhu, unfortunately Streamlit Elements does not support custom static folders as you noticed. However using a base64 data URI should work. Do you have any error in your browser's...

Hello @Filhomn, yes it is possible to use `mui.Tabs()`. `TabPanel` is just a javascript function defined in [mui's examples](https://mui.com/material-ui/react-tabs/#basic-tabs), it's not part of mui components. You can implement the same...

Hello @cryoff, could you share a sample code to reproduce the error?

What browser and version are you using? And can you check if you have any javascript error in your browser's developer console? Thank you

Could you check if your theme config in `.streamlit/config.toml` uses the value "blue"? It seems that colors specified this way are not supported by Material UI. A quick fix would...

I suppose you have a different streamlit config file under Ubuntu. I'll fix this issue in the next release.

Hello @pwsanders7, Actually the issue comes from Streamlit Elements. It is related to how I serialize DOM objects to JSON. Fortunately in your case, RadioGroup's [onChange](https://mui.com/material-ui/api/radio-group/#props) callback can still get...