How can I fix the error, where my <video> is not playing (src is a YouTube Video, could that be the problem?

How can I fix the error, where my <video> is not playing (src is a YouTube Video, could that be the problem?

![Screenshot 2024-01-04 at 12.20.49 PM|690x337]

Have you tried instead of using the video tag. Try using the IFrame tag instead.

Heres some documentation if needed:

After I tried that, it just gave me a black frame. The problem was, (that I am guessing), that Replit does not support YT Videos as a video, but I also didn’t know if Replit could support mp4s either. Thanks for your help though.

1 Like