How To Add Video Background In Website Using HTML And CSS Step By Step Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • Learn How To Add Video Background In Website Using HTML And CSS Step By Step Tutorial
    In this video we will create a website header section and we will add a video in the background that will play automatically in loop.
    For Domain and web hosting
    Visit Bluehost: bluehost.sjv.i...
    Bluehost tutorial:
    • How To Make A WordPres...
    -----------------------------------
    Download image:
    drive.google.c...
    Download video: www.pexels.com...
    -------------------------------------
    Recommended Videos:
    Learn Complete HTML and CSS from basics:
    ► • HTML And CSS Tutorial ...
    Make A Complete Website for college using HTML & CSS:
    ► • How To Make A College ...
    How to make a Business website step by step:
    ► • How To Make Website Us...
    How to make personal resume website step by step:
    ► • How To Make A Website ...
    How to make an Ecommerce Website Design:
    ► • How To Make eCommerce ...
    How to make travel website design with HTML CSS Bootstrap:
    ► • How To Make A Website ...
    -------------------------------------
    ◼️ Source code link is shared in community post for all my coding videos exclusively for channel members (only channel members can see)
    Join Channel Membership:
    ► / @greatstackdev
    -------------------------------------
    Like - Follow & Subscribe us:
    ◼️ TH-cam: goo.gl/tTFmPb
    ◼️ Facebook: goo.gl/qv7tEQ
    ◼️ Twitter: / itsavinashkr
    ◼️ Instagram: / iamavinashkr

ความคิดเห็น • 363

  • @isabelle-x1u
    @isabelle-x1u 2 ปีที่แล้ว +43

    thank you so much for this video! after hours and hours of trial and error i’ve finally managed to slap a background on to my website, and it’s all thanks to you, sir!

    • @f4stpoke133
      @f4stpoke133 ปีที่แล้ว +2

      This person is truly amazing!

    • @lilyowen2145
      @lilyowen2145 ปีที่แล้ว +1

      How did you do it.. if I try the background-image on the div it shows no nothing

    • @lilyowen2145
      @lilyowen2145 ปีที่แล้ว

      I have tried and tried and failed.. I am not a newbie either but the part of background image on a div never seen that happen

    • @TheArtOfConduitBending
      @TheArtOfConduitBending ปีที่แล้ว +2

      I still can't get my video background to fit perfect on the screen. For some reason I can't make it so that it fits the screen without having to scroll . The video is too big for the screen. I don't want you to have to scroll to view the video.

    • @totaabousamra9696
      @totaabousamra9696 9 หลายเดือนก่อน

      Me too, the same problem ​@@TheArtOfConduitBending

  • @xkingsub
    @xkingsub 2 ปีที่แล้ว +59

    Sir... I watching your videos daily.. sir you have to put a (responsive part) of your in every video... if anyone agree with me .. pls like the comment..♥️♥️♥️

  • @swapnilsupekar2309
    @swapnilsupekar2309 2 ปีที่แล้ว +29

    Love ur videos, but plz also explain code/functionality/impact on other items as well while typing it. It will be greatful.

  • @AdanJelle-wt4zu
    @AdanJelle-wt4zu 4 หลายเดือนก่อน +1

    watching several hours finally of trials and errors i've have made it thank you so much for this video looking forward more vedios

    • @GreatStackDev
      @GreatStackDev  4 หลายเดือนก่อน

      Glad you liked it. Thanks for your comment. 😊

  • @alfarhan2423
    @alfarhan2423 2 ปีที่แล้ว +9

    it will be easier to understand if you explain the couses of using css tags or explain how it makes changes

  • @triggerbott
    @triggerbott ปีที่แล้ว +3

    You are a life saver, thank you my fellow indian friend

    • @GreatStackDev
      @GreatStackDev  ปีที่แล้ว

      Thanks Diogo, glad you liked this tutorial

  • @nomibhatti8129
    @nomibhatti8129 2 ปีที่แล้ว

    Love u sir ap sa boht kuch sikha allah pak apko boht izat da kush rahooo sir

  • @JeremyMecham
    @JeremyMecham 10 หลายเดือนก่อน +2

    You rock! I have been a developer for a while but this was very clean and well done.

  • @emmanuelopoku-ameyaw2268
    @emmanuelopoku-ameyaw2268 2 ปีที่แล้ว +3

    Hello, I a programmer too. Thanks for your help!

  • @mithuhossain4438
    @mithuhossain4438 2 ปีที่แล้ว +3

    Dear Sir, Please create other multi page website in html and css. I watching your video ,,,Reallly awesome.

  • @radkakrenova3537
    @radkakrenova3537 2 ปีที่แล้ว +45

    Could you please make it responsive. Thank you...love your tutorials! :-)

    • @hireshparwani8858
      @hireshparwani8858 2 ปีที่แล้ว +1

      @radkakrenova we need media query syntax to make it responsive.

    • @divyadharpandey5229
      @divyadharpandey5229 2 ปีที่แล้ว +2

      You may go with media query for this by putting pixel at which you want it to be responsive

    • @krishnahare1435
      @krishnahare1435 ปีที่แล้ว +1

      Using Bootstrap grid

  • @NotGeraltofRivia
    @NotGeraltofRivia 9 หลายเดือนก่อน

    Thanks a lot brother I am a beginner but I've learnt a lot from this video. I am trying to create my music production website using HTML and CSS. Thank you!

  • @arvidj8918
    @arvidj8918 2 หลายเดือนก่อน

    Man, you are talented! Well done and thanks for videos!

  • @YasaruDeneth
    @YasaruDeneth หลายเดือนก่อน +1

    you are so great keep coding

  • @iTzAlwxyss
    @iTzAlwxyss 2 ปีที่แล้ว +8

    Sir can you make a tutorial on how to make the page responsive and add active links to explore button 😊

  • @mrbillyandBOB
    @mrbillyandBOB ปีที่แล้ว

    thx so much, and i wonder what program you are using, im trying diffreants, btw your the most underrated youtubers

  • @ndiagsonfivetv5985
    @ndiagsonfivetv5985 2 ปีที่แล้ว +1

    i follow you since senegal

  • @animemeTerbaru
    @animemeTerbaru ปีที่แล้ว

    makasi ilmu nya prindapan people

  • @AlmasNogali
    @AlmasNogali 8 หลายเดือนก่อน

    Really I want to give you a millions of likes !!!!

  • @jjroger1
    @jjroger1 2 ปีที่แล้ว +7

    Just what I needed. Thanks!

  • @henrikbaugerd2967
    @henrikbaugerd2967 ปีที่แล้ว +1

    YOU ARE A ABSOLUTE BEAST MY FRIEND!!!!

  • @sheetalsisodiya770
    @sheetalsisodiya770 หลายเดือนก่อน +1

    It's very helpful thankyou ❤

    • @GreatStackDev
      @GreatStackDev  หลายเดือนก่อน +1

      I'm so glad! You're welcome 😊

  • @ezdachi
    @ezdachi ปีที่แล้ว

    ty man , you fixed problem I was searching for 2 days

  • @attilaguba856
    @attilaguba856 ปีที่แล้ว

    Is it responsive? Just wondering how it will be working in different devices . Good stuff

  • @zoriamm5064
    @zoriamm5064 ปีที่แล้ว

    This is a very helpful video I will use this when I start to code a website

  • @Linaelinaeya
    @Linaelinaeya ปีที่แล้ว

    But that background is really so beautiful. You have a really good taste.

  • @sorayalove2068
    @sorayalove2068 2 ปีที่แล้ว

    I can’t believe I just found your channel!!!!

  • @fahimchowdhury6742
    @fahimchowdhury6742 2 ปีที่แล้ว

    thank you bro you saved me love from bangladesh

  • @meditationlife5323
    @meditationlife5323 2 ปีที่แล้ว

    Your the best ever..... Thanks 😊 Alot........... You deserve all gift's

  • @joelmalepe4862
    @joelmalepe4862 ปีที่แล้ว +2

    Thank you for such a nice tutorial. Also like the video showing the beautiful table mountain in Cape Town (South Africa).
    Is there a way to disable the flickering on the video replay?

  • @AayushPande-j9o
    @AayushPande-j9o ปีที่แล้ว

    thanks you bhai you have done excellent work for this project.

  • @charlzking198
    @charlzking198 2 ปีที่แล้ว +2

    A huge fan of your work mate👍🏽💙

  • @zaffre-hp3qm
    @zaffre-hp3qm 5 หลายเดือนก่อน

    THE BEST TUTORIAL EVERRRRRRR🎉

  • @bechirmhamatabakar902
    @bechirmhamatabakar902 ปีที่แล้ว

    You really helped me improve my css level. Thanks alot for your hard work. May god bless you

  • @koshuridea
    @koshuridea 2 ปีที่แล้ว +2

    Best explained video i have ever seen . Luv ❤

  • @rodrigoborgia5081
    @rodrigoborgia5081 2 ปีที่แล้ว +2

    Okay I did everything this video says but the outcome is so 😞😞😞 bad
    I think it's because I have a square monitor. Please make a video for those who have square monitors like me. I'll really appreciate. Thanks 🙏🙏🙏👍👍👍👍👍

  • @kwakyefrederick4158
    @kwakyefrederick4158 ปีที่แล้ว

    I was finding it difficult in the Css but your tutorial just helped me out.

    • @harleyelpapu
      @harleyelpapu 7 หลายเดือนก่อน

      MAMI SOY TU VAQUERO DIME VAQUERO MAMI

  • @notsphinxz
    @notsphinxz 2 ปีที่แล้ว +7

    Thanks for the Images and the Code that gave it to us! I really appreciate your work man!
    Keep up with your coding journey! Liked Shared and Subscribed!

  • @zacklee5168
    @zacklee5168 7 หลายเดือนก่อน

    What is the best video resolution to do that? Will the website becomes heavy and load slowly? Max video duration? Thanks so much in advance for your response.

  • @salmaanyasin
    @salmaanyasin ปีที่แล้ว +2

    Thanks a lot, it helped me way more than expected, and especially the video u gave, although I did not use it, the website of the video helped me find the perfect one.

  • @mohamadrezafathi8339
    @mohamadrezafathi8339 6 หลายเดือนก่อน

    dude thank you so much i was stuck so badly :)

  • @Gamer_Guy2.0
    @Gamer_Guy2.0 ปีที่แล้ว

    Thank you For this Wonderful Tutorial, I really Understood Everything, Keep it Up

  • @GIGvalley_tech
    @GIGvalley_tech 2 ปีที่แล้ว +3

    I really appreciate your commitments...

  • @confessiontube3454
    @confessiontube3454 2 ปีที่แล้ว +2

    This was very amazing thank you very much sir please keep it up✅

  • @MirajMalik-h9w
    @MirajMalik-h9w ปีที่แล้ว

    Thanks dude I was really confused since i am a beginner, the video was really helpful and to the point, excellent !

  • @fivefactos5
    @fivefactos5 3 หลายเดือนก่อน

    best video ever love you daju dhoti

  • @thamoddya
    @thamoddya 2 ปีที่แล้ว +1

    Thank You. You Make My Day Bro..

  • @NoCopyrightsongs661
    @NoCopyrightsongs661 2 ปีที่แล้ว +23

    Hi Easy Tutorials can you make a tutorial on how can we make our own video editing website like Invideo.

    • @yoyoclockEbay
      @yoyoclockEbay ปีที่แล้ว

      You want to make your own video editing website?

    • @NoCopyrightsongs661
      @NoCopyrightsongs661 ปีที่แล้ว

      @@yoyoclockEbay I want to

    • @yoyoclockEbay
      @yoyoclockEbay ปีที่แล้ว +1

      @@NoCopyrightsongs661 No idea how to do that

    • @NoCopyrightsongs661
      @NoCopyrightsongs661 ปีที่แล้ว

      @@yoyoclockEbay ok

    • @yoyoclockEbay
      @yoyoclockEbay ปีที่แล้ว

      @@NoCopyrightsongs661 It sounds complicated

  • @ledysstevengarcesmunoz350
    @ledysstevengarcesmunoz350 7 หลายเดือนก่อน

    excelent video thank you so much

  • @nestrojil.pictures
    @nestrojil.pictures 9 หลายเดือนก่อน

    Very helpful. Thanks!

  • @emperorwulf5645
    @emperorwulf5645 ปีที่แล้ว

    God bless you and your family

  • @AlexStudiosIndia
    @AlexStudiosIndia 2 ปีที่แล้ว

    Best best best bro...... You are helping us too much..... A big THANK you to you 🔥🔥👍👍🙏

  • @Miguelskytwins
    @Miguelskytwins ปีที่แล้ว

    Than you for making this video!

  • @benogega2543
    @benogega2543 2 ปีที่แล้ว

    I have learn alot. Thank you.

  • @sreeman2940
    @sreeman2940 ปีที่แล้ว

    at first it was looking like rocket science
    but after 3 month of learning css for some minutes a day
    it is just a simplest webpage using hyperlink   margin and url

  • @annekarisolberg5660
    @annekarisolberg5660 ปีที่แล้ว

    This is great! I want to use this at my work's website - but the video doesn't play in the browser (chrome, safari) when I try to publish it. Is it because the video is stored on my private Mac? I'm using a Norwegian website builder which allows me to add an HTML element where I can post this code, but the video is not playing. Do I need to upload the private video to a host server?

    • @GreatStackDev
      @GreatStackDev  ปีที่แล้ว

      yes you need to upload the video also then update the video file path in the code

  • @hasanmehedi4776
    @hasanmehedi4776 2 ปีที่แล้ว +1

    How do you choose color for your website??
    Please make a video

  • @Code_With_Jarvis.
    @Code_With_Jarvis. 4 หลายเดือนก่อน +2

    thanks a lot sir

    • @GreatStackDev
      @GreatStackDev  4 หลายเดือนก่อน +1

      You're Welcome. 😊

  • @renejacques8288
    @renejacques8288 6 หลายเดือนก่อน

    The texts California Explore sit at the center top on my screen. How do I get it in the center of my screen like yours is please? In another word, how do I move the content up/down along the Y axis? I tried a few things, they're not working. When I try margin: auto, the texts disappear. Great video!

  • @ruchigupta277
    @ruchigupta277 2 ปีที่แล้ว +3

    Hey.. Can you recreate unreal engine site pls with video background which gets small while scrolling down and shifts to centre and fades?? Pls

  • @jgomeval
    @jgomeval 11 หลายเดือนก่อน

    beautiful video. thumbs up

  • @umesh6819
    @umesh6819 7 หลายเดือนก่อน

    Very helpful .🎉❤😊

  • @katariinalohilahti2444
    @katariinalohilahti2444 ปีที่แล้ว

    thanks for helpful tips, liked and subscribed!

  • @robertofosu490
    @robertofosu490 2 ปีที่แล้ว

    Thank you very much it was helpful

  • @sumit-g5r
    @sumit-g5r 3 หลายเดือนก่อน

    Brother can you please make it responsive too it will help alot❤

  • @jamiehurd4081
    @jamiehurd4081 ปีที่แล้ว +1

    Great content! Thanks for sharing.

  • @waykanstudio
    @waykanstudio 8 หลายเดือนก่อน

    I have watch another tutorial, and im not sure what i am doing wrong, i added the video but when i live preview video is not showing nor playing, my video format is. mp4 and i was wondering does it have anything to do withe the video size? what is the size of the video you used in this tutorial, because that would be the only thing that differ from everything else.
    Anyone with any suggestions i would really appreciated it. Thousand thanks in advance!

  • @nuwandamith4790
    @nuwandamith4790 ปีที่แล้ว

    I really appreciate your videos brother. And can you teach us the buttons we are using, to navigate those into somewhere in the website?

  • @gamingbar54
    @gamingbar54 2 ปีที่แล้ว +2

    Thankyou ♥️ Your videos are amazing ✨

  • @lely2803
    @lely2803 2 ปีที่แล้ว +1

    thanks a lot

  • @tawhidsworld9901
    @tawhidsworld9901 ปีที่แล้ว

    Thank you so much sir

  • @caharodienamama3494
    @caharodienamama3494 2 ปีที่แล้ว

    Thank youu soo muccch brooo i loveee your videos❤️👌

  • @manishwalia1102
    @manishwalia1102 10 หลายเดือนก่อน +1

    nice

  • @sumitmahi7738
    @sumitmahi7738 2 ปีที่แล้ว

    Wow bother its really wonderful.

  • @kəanıncupıdo
    @kəanıncupıdo 2 ปีที่แล้ว +1

    That's my home town lol. Cape Town.

  • @aforangular3759
    @aforangular3759 2 ปีที่แล้ว

    Sir I'm watching all the video.
    Please make video on angular series

  • @gmxgm
    @gmxgm 2 ปีที่แล้ว +2

    thank you so much for this video and your channel honestly... i have an issue that the section with nav with the buttons is going beyond the background, i don't know what to do someone has this problem too? i think it's an issue with boxes but don't know what i did wrong.
    EDIT: i realized i forgot to put "box-sizing: border box" at the beginning of the css document lol

    • @nununm3199
      @nununm3199 2 ปีที่แล้ว

      make sure that the nav section is written inside of the div (hero)

  • @akabestbrazilianbishop
    @akabestbrazilianbishop ปีที่แล้ว

    Amazing job, thanks for sharing.

  • @matiascollado9926
    @matiascollado9926 ปีที่แล้ว +1

    There is a way to make the video slower? Thanks!!

  • @dynamichack8171
    @dynamichack8171 ปีที่แล้ว

    Thank you brother

  • @remyybruhh4727
    @remyybruhh4727 2 หลายเดือนก่อน

    Hey! I was wondering why position:absolute in my "back-video" class takes away the video from my webpage, I'm just learning how to code and had started over, but I figured out it wasn't the code but just one small detail. Any insight?

  • @JabirMahmoud-z9e
    @JabirMahmoud-z9e 11 หลายเดือนก่อน

    that's cape town, where I live :)

  • @shareedab9641
    @shareedab9641 ปีที่แล้ว

    God bless you

  • @ltroy7845
    @ltroy7845 ปีที่แล้ว

    nice creative

  • @MrHrithikChoudhary
    @MrHrithikChoudhary 10 หลายเดือนก่อน

    Thanks brother ❤

  • @dishankjain4617
    @dishankjain4617 ปีที่แล้ว +1

    sir everything is cool but i am not able to make background video responsive... like the text is responsive but backgound image is not

  • @iTzAlwxyss
    @iTzAlwxyss 2 ปีที่แล้ว +1

    Sir can you make a tutorial on how to make the page responsive

  • @Rasdiant
    @Rasdiant ปีที่แล้ว +1

    Thanks Bro

  • @eyasulegesse
    @eyasulegesse 2 ปีที่แล้ว

    thank you so much has always i love this
    video

  • @madhulata5088
    @madhulata5088 ปีที่แล้ว

    Can you also share coding methods cause I am a beginner.

  • @Hassan10136
    @Hassan10136 6 หลายเดือนก่อน

    Thankz for you help ❤❤❤

  • @SuccessEquationz101
    @SuccessEquationz101 ปีที่แล้ว +1

    Why are my links not going over the video as a background it keeps positioning under it.

  • @varunahlawat9013
    @varunahlawat9013 ปีที่แล้ว +1

    I've literally written the exact same css but I cannot get the same hover effect!
    What could go wrong?

  • @Akashthote1999
    @Akashthote1999 ปีที่แล้ว

    Very useful video

  • @ishabaskar
    @ishabaskar 2 ปีที่แล้ว

    wonderful video good explanation, great job, keep it up.....

  • @swathidadyt
    @swathidadyt 2 ปีที่แล้ว

    Just Awesome
    Thank you sir

  • @prathyushak3019
    @prathyushak3019 8 หลายเดือนก่อน

    It is Working!! But (click to whatsup icon) is not showing while video is playing but when curser point towards icon, it is working but not showing in video at bottom right corner.

  • @anesioalves4300
    @anesioalves4300 9 หลายเดือนก่อน

    Perfeito, você resolveu meu problema.

  • @mohammedradman2756
    @mohammedradman2756 2 ปีที่แล้ว +3

    Hi, I subscribed to your channel. Can I get the source code?

  • @Lone.Wolf1976
    @Lone.Wolf1976 2 ปีที่แล้ว

    Wanted to know how to make the explore button change color when hovering over with mouse, any help appreciated