Thanks Randy (e.o),
I think you are correct, this is probably the only solution.
I initially ran into the issue that Streamlit needs H264 codec but with a work around I managed to run a simple demo animation as a video when running it my own browser (even though still got an error message with fall back solution at the command prompt.
But deploying it on Streamlit is not working it gives an error and now I am really stuck.
I have attached below links
Would you be able to assist? , does Streamlit accept other video formats? I tried .avi but that failed.
Thanks very much
Error message streamlit local (with fallback solution to still run): Dropbox - Error message Streamlit local.txt - Simplify your life
Python file sim.py: