The video on mobile displays with transparent background and play button

I’ve deployed the app on Heroku server… on my computer everything goes as it should, the video on the homepage has the first frame of the video in the background and the play button in it, but on mobile it’s different. The background of the video is “blank” only the play button is visible.

but as soon as I play the video, pause it and close it, the last paused frame is in the background. How could I fix this so that on mobile devices the background is not transparent like in the photo but e.g. the first frame of the video?

Thank you

1 Like
col1, col2, col3 = st.columns([1, 5, 1])
with col2:
    video_url = "https://example.com/example.mp4"
    st.video(video_url)
1 Like