I want to add a video inside a div
(I want to make it as a background-video for this element).
I add the video and I see the first image of the video, but it won't start/play.
As I read about HTML5 and video I think I have set all the properties it will need, but there must be a mistake which I can't see.
<div class="myclass" id="caption" contenteditable="true">
<video autoplay="" loop="" id="video-background-7608" muted="" plays-inline="" poster="">
<source src="https://player.vimeo.com/external/158148793.hd.mp4?s=8e8741dbee251d5c35a759718d4b0976fbf38b6f&profile_id=119&oauth2_token_id=57447761" type="video/mp4"></video>
some content in my <span>div</span>
<img...>
</div>
I see no errors in the console or in the network-report.
Here https://dev.w3.org/html5/pf-summary/video.html#attr-media-autoplay I read "The autoplay DOM attribute must reflect the content attribute of the same name"
Cloud it is the point I need? What does it mean?
Thanks for helping me to solve it!