One video on my webpage often plays unexpectedly, despite my coding to prevent this

The third video on my page often plays unexpectedly when the page loads. The html code follows below…

embed SRC=“x-bookmark.mp4” WIDTH=“450” HEIGHT=“550” AUTOPLAY=“false” controls preload=“none” CONTROLLER=“true” LOOP="false”

…I know only the basics of web design using html, and very little using CSS. If there’s a simple fix (preferably using html) to the above code, I’d be thankful.

so why are we using an embed rather than a video tag for a local video file?

1 Like

Problem solved using Google search ai. :laughing:

Could you expand on how you fixed the problem, in case it helps someone else in the future?

1 Like
<video width="450" height="550" controls preload="none" controls poster="gratitude1.jpg"> 
< source src="x-bookmark.mp4" type="video/mp4">
 Your browser does not support the video tag. 
</video>

I typed my original post into Google, and its AI gave me the correct code. (I omitted beginning brackets)

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