8000 HeroSection.js video tag · Issue #14 · briancodex/react-website-v1 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

HeroSection.js video tag #14

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

Open
lhk3337 opened this issue Apr 14, 2021 · 0 comments
Open

HeroSection.js video tag #14

lhk3337 opened this issue Apr 14, 2021 · 0 comments

Comments

@lhk3337
Copy link
lhk3337 commented Apr 14, 2021

If you set the video file path elsewhere, instead of in the public folder, you should set it as below.
Change HeroSection video tag :

import videos from "../assets/videos/video-2.mp4";
<video src={videos} autoPlay loop muted />

@lhk3337 lhk3337 changed the title HeroSection.js HeroSection.js video tag Apr 14, 2021
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

1 participant
0