Code snippet: create Components without any frontend tooling (no React, Babel, Webpack, etc)

I’m using this method and it works well. However, I can’t seem to load local videos on my HTML file with proper controls. I’ve tried (Restrict Download of Images & Videos on Streamlit App - #2 by andfanilo) but it does not seem to be able to load from the static folder. Anyone know how to resolve this?