Video not loading in browser tab

Question: I am currently making a game and I am trying to add an intro cutscene. The problem is that when I view it in a new browser tab, the video disappears. The element is still there, but the video isn’t playing. Can somebody fix this problem? Also the video is a placeholder. It will not be in the final game.

Repl link: Amazing Adjectives

Edit: Should this be a bug report?

Can you please provide the link to your Repl? The link you provided is to the “Made with Replit” badge that comes with HTML Repls.

2 Likes

Sorry, I was viewing the code earlier and I must have not fully pressed control c when copying the link. It is fixed

Good news, I found that the video loads, it just doesn’t auto play. Is there a way to fix that?

1 Like

Yes

<video autoplay>
3 Likes

I had already done that, but it seems to not be working. Also, I am doing this on a chromebook, and the inspect page feature is turned off, so that makes it a bit harder.

I have good news and bad news. The good news is, I found the problem. The bad news is, google chrome and safari do not allow a video to be auto-played, unless it is muted. I’ll have to find other means of creating my intro cutscene.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.