philipp
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by philipp
-
-
Hello can someone help me? I have a background video embedded with a placeholder on the web page. Works great in most browsers, just not in Chrome. Is there a solution for this? Thank you very much
Problem with background video in Chrome browser
in HTML/XHTML
Posted
<video width="100%" height="100%" autoplay loop>
<source src="https://hostpart.ch/Beach - 14297.mp4" type="video/mp4" />Your browser does not support the video tag. I suggest you upgrade your browser.
<source src="https://hostpart.ch" type="video/webm" />Your browser does not support the video tag. I suggest you upgrade your browser.
Your browser does not support the video tag.
</video>
oder
<div class="homepage-hero-module">
<div class="video-container">
<div class="filter"></div>
<video autoplay loop class="fillWidth">
<source src="https://hostpart.ch/Beach - 14297.mp4" type="video/mp4" />Your browser does not support the video tag. I suggest you upgrade your browser.
<source src="https://hostpart.ch" type="video/webm" />Your browser does not support the video tag. I suggest you upgrade your browser.
</video>
<div class="poster hidden">
<img src="https://hostpart.ch/Beach - 14297.mp4" alt="">
</div>
</div>
</div>
Both codes work, just not in CHROME.