How To Set Up A Background Video in Webflow

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 59

  • @Cristianasher
    @Cristianasher 6 месяцев назад +1

    Hey, great video (and I don't think you go too fast!) Is there any way to adjust how the video sits in its element? As I resize my window, it grows/shrinks from the center point, but I want it to be anchored at the top and grow down if necessary. Is that possible?

    • @CullenKuch
      @CullenKuch  6 месяцев назад

      Thanks! It should be the default behavior, yes. Make sure the Background Video is set to 100%, then it should just absorb the full height of whatever container its in. The one I made still behaves that way so feel free to clone and take a look.

  • @tylervelasquez5639
    @tylervelasquez5639 Год назад +1

    The VH on the section was perfect! I somehow ended up with a horizontal scroll when I did height px for the video and did the breakpoints...redoing the section with vh made it way better with work with

    • @CullenKuch
      @CullenKuch  Год назад +1

      Hey Tyler, glad that was helpful! Yeah set pixels can sometimes be tricky to keep up with as the screen size fluctuates between devices. VH definitely makes things smoother but also has it's limitation sometimes, mostly with horizontal/landscape phones since the viewport decreases drastically when you turn your phone sideways! Learned that the hard way haha so just double check everything 😉👍

    • @tylervelasquez5639
      @tylervelasquez5639 Год назад

      ​@@CullenKuch I appreciate the acknowledgement! I do check with multiple screen sizes in front of me (my phone, desktop, laptop); double checking everything at the various breakpoints. It's tedious to double check every time I make one change but it's better than messing up later and having no idea.

  • @IntelligentStockInvesting
    @IntelligentStockInvesting 2 года назад +1

    Thanks Cullen

    • @CullenKuch
      @CullenKuch  2 года назад

      You're very welcome Richard!

  • @HujanGerimis
    @HujanGerimis 2 года назад +1

    Super thank you for this one.

    • @CullenKuch
      @CullenKuch  2 года назад

      My pleasure Hujan, glad it helped!

  • @tim.kreisel
    @tim.kreisel Год назад +1

    Hey, is it possible with the basic version or do you need a more expensive version?

    • @CullenKuch
      @CullenKuch  Год назад +1

      Hey Tim, the background video element is available on any plan for free!

  • @maumejean
    @maumejean 2 года назад +2

    Great video, fun, direct and to the point.
    Great job.!!

  • @tochidioka6019
    @tochidioka6019 Год назад +1

    Awesome video but half of my video has cut out..
    Please how can my video fit into a size of 80vh on the base point?

    • @CullenKuch
      @CullenKuch  Год назад

      Hey Tochi, make sure whatever your video is in has set dimensions. For example it could be 100vw to take up the whole width of the screen. And then make your video width 100% so it absorbs the width of its parent container. Or if it's not inside anything, just give your video element a max-width of 100% or 100vw. Hope that helps!

  • @jacobrosales5376
    @jacobrosales5376 Год назад

    Thanks for the video - helpful

    • @CullenKuch
      @CullenKuch  Год назад

      No problem Jacob, glad it was helpful!

  • @TheLastGen
    @TheLastGen 2 года назад +2

    Why is it no one talks about mobile? Have you been able to get your background video to play on mobile? I can't figure it out. Thank you!

    • @CullenKuch
      @CullenKuch  2 года назад

      Hey there! The background video plays for me on mobile iPhone just fine, I tried it both on Chrome and Safari. Try checking if battery saver mode is enabled on your phone, I've read sometimes that prevents it from playing. You can also try clearing the cache or cookies. And if none of that works it seems like someone found a little custom code solution you can add in your Webflow project here: discourse.webflow.com/t/make-webflows-background-video-play-on-ios-and-android/52028

  • @kels9493
    @kels9493 3 года назад +2

    BEE MOVIE SHOUTOUT LETS GOOOO

  • @lisapeterson5543
    @lisapeterson5543 3 года назад +1

    This is so fun! I just love it.

    • @CullenKuch
      @CullenKuch  3 года назад

      It was so fun making it!! 😁

  • @RockstahRolln
    @RockstahRolln 2 года назад

    EXACTLY what I was looking for! Thank You!!

  • @stevecahill9106
    @stevecahill9106 2 года назад +1

    Thanks for this. When I overlay text, heading its underlined. All text decorations are off.

    • @CullenKuch
      @CullenKuch  2 года назад

      Hmm try targeting the parent elements as well. If it's in a link block or something that underlined behavior will trickle down. So just check them all for that "text decoration: none" to be applied!

    • @stevecahill9106
      @stevecahill9106 2 года назад

      @@CullenKuch thank you, will check.

    • @stevecahill9106
      @stevecahill9106 2 года назад +1

      @@CullenKuch That was it, on a parent element. Fixed.

    • @CullenKuch
      @CullenKuch  2 года назад

      @@stevecahill9106 Fantastic!

  • @MrToadstool
    @MrToadstool 3 года назад +1

    I'm looking to add a background video that exceed's Webflow's 30mb upload limit because...it looks like garbage. Any way to do this?

    • @CullenKuch
      @CullenKuch  3 года назад

      Hey there! It may just come down to finding a good file compressor to make sure your video is within the size limit. There are two sites that seem to be popular for Webflow video compression - Clipchamp or HandBrake. You could also shorten your video and have it play in a loop, it is just background and shouldn't be some long extravagant or distracting element. If the quality is not the best you could always add a low opacity overlay or text content on top so the focus is shifted or the lower quality isn't as noticeable. Hope that helps!

  • @derrekhennessy9974
    @derrekhennessy9974 2 года назад +1

    Do you know how to setup the videos so they can 1. Start to play only when they are in view 2. Start at a particular time in the video (for mobile I want it to start at 15 seconds and not from the beginning)

    • @CullenKuch
      @CullenKuch  2 года назад

      Hey Derrek! In order to have it play only when in view, this would require some custom code I think. You could turn off the autoplay of the element in its settings. Then turn the play/pause button on. Then you'd have to write a little function that "clicks" the play/pause button when the bg video element is in view.
      And to have mobile videos start further along you'd probably have to "display none" the desktop video on mobile, then display a different bg video element with a different file that starts when you want it. Hope that helps!

  • @milabugaieva8451
    @milabugaieva8451 2 года назад +1

    Hi! Thanks for the video. Could you please help me to make the header on the background video? So that, video will play while the header will be on the top of video (overpayed).

    • @CullenKuch
      @CullenKuch  2 года назад +1

      Hey Mila, you should be able to change the z-index for your heading and background video element in the position settings. Make sure the video has a lower z-index than the header and it will live behind it!

    • @milabugaieva8451
      @milabugaieva8451 2 года назад

      @@CullenKuch Thank you a lot! Now it works, but unfortunately now I can`t add an overlay on my video background
      :( Maybe you know how I could fix it? I made everytning according to your video...

    • @CullenKuch
      @CullenKuch  2 года назад

      @@milabugaieva8451 Hmm okay so you would have your section with a fixed height, say 70vh. Then put the background video element inside that section, make its height 100%. Then with the background video element selected, click the background + button and add the color overlay. It should apply right over it. Then your headings and whatever you want on top of the video will live nested inside the background video element itself, just like a div. Hope that helps!

  • @INNERPR1SM
    @INNERPR1SM 2 года назад +1

    Thats great and all but background vids arnt interactive only youtube vids are which brings me to my next question , where is the loop feature for youtube vids???

    • @CullenKuch
      @CullenKuch  2 года назад

      Yes the background video element is meant to just be moving imagery as a background so it's not interactive. Only the video element will have the controls. You may be able to use an iFrame embed element in some custom code and add the autoplay or loop settings to that. Finsweet also just released an auto video attribute, might not be the same thing but could be worth looking into!

  • @omnagupta5619
    @omnagupta5619 2 года назад +1

    Is it possible to put the background video on Loop?

    • @CullenKuch
      @CullenKuch  2 года назад

      Hey Omna, yes the video should loop automatically!

  • @mortezafathollahi5449
    @mortezafathollahi5449 Год назад +1

    How can we mask video inside the text or SVG?

    • @CullenKuch
      @CullenKuch  Год назад +1

      Hey Morteza, looks like someone found a way to cheat this using blending modes and element positioning! webflow.com/made-in-webflow/website/Knockout-Text-with-Video-Background

  • @abishayriaz8667
    @abishayriaz8667 2 года назад +1

    Do you have a solution for background music for the background video?

    • @CullenKuch
      @CullenKuch  2 года назад

      Hey Abishay, I actually touched upon this in another video. You’ll have to add a separate audio controller and just try to sync it up with the background video by having them both play upon page load. Take a look here, hope it helps! ruclips.net/video/RCAsjcw4Qxo/видео.html

    • @abishayriaz8667
      @abishayriaz8667 2 года назад

      @@CullenKuch thank you sooo much❤️

  • @domcox
    @domcox 3 года назад +1

    I wondered if you could show how to use an embedded video as a background element. Love the channel BTW. New here and just subbed

    • @CullenKuch
      @CullenKuch  3 года назад

      Thanks Dom! It's pretty simple using the embed element. You can put an HTML embed element into a container or section that is 100vh/vw or the dimensions that you want. Then set your inline styling for the element in the custom code to 100% height and width so it absorbs the same styling dimensions. You just have to link a vimeo file or wherever the video is living. Here's an example I saw somebody do that you can explore! webflow.com/website/background-video-embed

  • @ludolovely
    @ludolovely 2 года назад

    Hi Cullen, great video and content! I was wondering if you know how to add some custom code to the background video elements.
    Specifically to force the video to autoplay and mute and loop. I don't encounter any issue on androids and firefox and chrome, but on safari and iphone the background video will not play only with the options set in webflow of autoplay and loop. What I would like to add is something like , if that would be an html attribute. but didnt figure out how to do that in here. Thanks a lot!

    • @CullenKuch
      @CullenKuch  2 года назад

      Hi! So mine seems to work on iPhone and Safari mobile when I have the background video element settings set to autoplay and loop. It plays right upon page load. But if yours still doesn't here is some code that might help trigger it. Make sure you give your background video element an ID in Webflow, as well as the play/pause btn they provide for you. This code will check whether or not the video is already playing when the page loads. If it is not, then it will click the play button for the user so it looks like it autoplays. Make sure you have those IDs set and paste the code in the page settings. Here is a link to the JavaScript but it's also set up in my cloneable project linked above which might be more helpful. Good luck! codepen.io/cullenk/pen/VwXXORV

  • @osks
    @osks 2 года назад +1

    Sloooooow down bro! And shorten intro please!

    • @CullenKuch
      @CullenKuch  2 года назад

      Haha sorry Andrè, I'll keep that in mind for future videos!

  • @ryandipratamapurba8059
    @ryandipratamapurba8059 2 года назад +1

    how to responsive in mobile, because in my case is cut off

    • @CullenKuch
      @CullenKuch  2 года назад

      Hey Ryandi! The actual background video element won't scale with smaller screens so sometimes your content in the video might be cut off so it maintains the full background dimensions. One solution is to crop your video for the different sizes and have a different file for each one. Then have a different background video element for each viewport size. Display "none" the element when it's not being used and display the correct size video on the corresponding viewport. Hope that helps!

  • @aniharutyunyan7965
    @aniharutyunyan7965 Год назад +1

    how to make infinite slider video

    • @CullenKuch
      @CullenKuch  Год назад

      Hey Ani, I'll have to add this to my list. Webflow does have an option in any Slider element's settings to turn on "infinite repeat slides" though so you can always start there or check out their documentation on Sliders. university.webflow.com/lesson/slider

  • @andrewchr
    @andrewchr 2 года назад +1

    dude you're going too fast. I had to triple check that you had to go all the way down to components section in the sidebar to choose background video. Slow down.

    • @CullenKuch
      @CullenKuch  2 года назад

      Sorry about that - I’ll try to be aware of that in future videos. If you feel like you missed anything feel free to clone the project or look at in Webflow directly to copy at your own pace!