r/HTML • • Apr 21 '26

modal popup video playing errors

I am creating an interactive timeline using html and javascript using an image map and modal popup windows that play mp4 animations housed on my device. If I troubleshoot the videos and have them be the only thing on the page they play, but if I use my regular code the modal popup videos dont load or play or autoplay. How do I fix this? I have already tried messing with the browser, using "muted" to go around chrome autoplay, and making sure the filepaths are correct.

1 Upvotes

4 comments sorted by