amin_f
amin_f

Reputation: 1

HTML video tag not working with safari (tried almost every solution)

I am trying to add a background video in my project, everything was fine until a month ago and after that I realized than safari won't play the video.

I also have no problem that safari shows an image of the video like a cover but unfortunately, safari shows a play button in the middle of the video so it is not usable at allenter image description here

I am about to give up at this, so i appreciate any final helps :)

HTML :

<video autoplay muted playsinline loop class="bg-video__content">
                        <source src="img/map2.webm" type="video/webm">
                        Your browser is not supported
</video>

adding playsinline, muted, ... I tried almost every possible formats like mp4, mov ... I even tried formats with different type properties. I also tried changing the css but nothing happend.

Upvotes: 0

Views: 260

Answers (0)

Related Questions