Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background Video doesn't load #2

Open
vtotiv opened this issue Oct 28, 2018 · 1 comment
Open

Background Video doesn't load #2

vtotiv opened this issue Oct 28, 2018 · 1 comment

Comments

@vtotiv
Copy link
Member

vtotiv commented Oct 28, 2018

The 8sec. mp4 Background Video does not in any Browser except Safari on Mac.
Insert video correctly, not as Background image

@deltaxflux
Copy link

deltaxflux commented Oct 28, 2018

Using:

 <div class="img_bg" style="background-image: url(videos/autonmshckvid.mp4);" data-stellar-background-ratio="0.5" autoplay loop>

Does not work. Instead use:

<video playsinline autoplay muted loop poster="" id="bgvid">
   <source src="videos/autonmshckvid.mp4" type="video/mp4">
</video>

Edit:
Use poster="" for video titles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants