Remove controls and loop video with embed

video is not looping and controls are showing

<embed controls="false" loop="true" type="video/mp4" src="video.mp4">```

I think in HTML5 the syntax for controls and loop are like this:

<video controls loop>

In other words, drop the =“false” and =“true”. See here. Also, sometimes if your video is too big the controls will get hidden.

I want to hide controls and loop in embed tag

<video loop>
  <source src="yourMovie.mp4" type="video/mp4">
  Your browser does not support the video tag.

notice no controls in the tag, and that “loop” is written, also that the tag is a “video”

1 Like

I don’t believe those are valid attributes for the embed element. Also, I don’t really think that element is used much anymore. Why do you want to use an embed?

1 Like

Yeah so you would omit the controls option and then include the loop option in the correct way.

1 Like