Video bad playback performance

Hi,
I’m trying to use the st.video() function to embed a video that a user can play in my app. The video was originally recorded in .webm format (8MB in size) and the playback performance was great, but it did not allow the user to navigate forward/backward in the video – it only allowed start/pause with single stream from start to finish, which is not ideal. I tried converting the .webm file to .mp4 using ffmpeg (landing at ~130MB in size), and that allowed the user to navigate the video but now the playback performance is bad – every 5 seconds or so it pauses to load / is very laggy. Any suggestions on how to get good playback performance and video navigation? Code is pasted below:

video_file = open("2022_03_15_MATCH_Tutorial_Video.mp4", 'rb')
video_bytes = video_file.read()
st.video(video_bytes)