How to Webflow: Playing dynamic background videos on mouse hover (Tutorial 2020)

Поделиться
HTML-код
  • Опубликовано: 11 июл 2024
  • Link to original question:
    ruclips.net/user/postUgzuvxMH...
    The code I used can be found at:
    pastebin.com/FmN6rxKw
    Join the Pixel Geek Community:
    pixelgeek.community
    -------
    I've been a web designer since 1995 and I've learned a lot about this industry. Now that I've found my dream job at Webflow, I want to share some of my experiences and knowledge with you in hopes you can find your dream job as well.
    The purpose for this channel is to help you design and build better websites, learn more about the business of web design, and empower you to inspire others in this unique creative industry.
    -------
    Like what you see? Subscribe here:
    ruclips.net/user/subscription_...
    -------
    / thepixelgeek
    / pxlgk
    pixelgeek.co
  • ХоббиХобби

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

  • @ArtSzabo
    @ArtSzabo 4 года назад +1

    Perfect solution! loving the effect, it's perfect for my new portfolio. Thanks Nelson!

  • @mattejones
    @mattejones 4 года назад +1

    Amazing! Definitely going to add this to my site this week!

  • @ShutterlabCreative
    @ShutterlabCreative 4 года назад +1

    I remember you demoing this for me sometime ago. Thanks for returning it into a tutorial! Now that I'm finally getting around to implementing this is super helpful. Hopefully they're able to do this sort of thing natively in CMS in the future. This is a great solution till then!

    • @pixelgeek
      @pixelgeek  4 года назад

      Glad I could help!

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

      @@pixelgeek I've implemented this for a 100% width header (a DIV inside a section), but the BG video width doesn't scale across breakpoints. So on smaller breakpoints, the video appears very zoomed in. Is there anything I can do to automatically scale the video size down with screen resolution?

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

    You're awesome bro! I just made the switch to webflow working on my first client site thanks!

  • @soundhouse7tonstudio
    @soundhouse7tonstudio 4 года назад +16

    I am honored that you accepted my question and even did a tutorial.
    It also works well so far. But maybe you have an idea how to make the video play from the beginning every time you move the mouse over the picture. The video is currently playing in the loop in the background. The video should stop at mouse out and start again when mouse hovering again. The idea is, when I have a head shot of a team member, that the team member suddenly comes to life at mouse hover and freezes again at mouse out to a still image.

    • @369frederik1
      @369frederik1 4 года назад +3

      I'm looking to do exactly the same thing! Did you find any luck?

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

      Also was hoping it would function like this... Anyone done this?

  • @9ubgy90bohbhhyuiyug9y
    @9ubgy90bohbhhyuiyug9y 2 года назад

    This tutorial was AMAZING

  • @AlbelDarc
    @AlbelDarc 4 года назад +1

    your videos are 100 times better... thank you so much!!!

  • @PiotrBagniewski
    @PiotrBagniewski 4 года назад

    THIS IS GREAT, PLEASE MAKE MORE ADVANCED TUTORIALS

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

    damn sir it was sooo helpful and awesome video for me . I learnt so much of webflow from you and this one was great and unique...

  • @Lan_MLBB
    @Lan_MLBB 4 года назад

    Niiice. Thanks!

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

    I love you.... this is awesome.

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

    Hey, thank you for the awesome tutorial.
    Quick question, when the coding is done, can I easely change the video in the collection without having to change the code or do I have to change the code everytime I want to change the video?
    My goal is to follow your tutorial and make some kind of news feed, so it has to be easy to change the news every once in a while.

  • @jonathan69db
    @jonathan69db 4 года назад +1

    really love your videos, thanks so much for sharing the knowledge. i think you should work on more informative thumbnails. browsing your channel is a bit hard when you're searching for new things to learn rather than browsing specific keywords. maybe some big pictures of the key features discussed in the video would help, instead of your - dont get me wrong - face. :D it would also attract more viewers cause now almost every video looks like a random livestream

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

    Your videos are very professional, I like them all and very helpful they are.
    I have an isssue.
    I embeded a VIMEO movie and sadly when the site loads in the vimeo play controll line covers the bottom part of my nice thumbnail instead of just displaying a little play me triangle in the middle of the Thumbnail like in case of RUclips.
    how to make this video control line get displayed on mouse hover?

  • @talentroo
    @talentroo 4 года назад +1

    Great! I was looking for this! Thank you.
    I have 2 questions:
    1. Can I host the videos on a separate website?
    2. If the video has sound will the sound be on when you hover over the image and the video starts?

    • @pixelgeek
      @pixelgeek  4 года назад +1

      Thanks for watching :)
      As for your questions...
      yes. you can host them on RUclips or Vimeo, but you may have to remove the audio from your videos. You don't want them all playing at the same time.

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

      @@pixelgeek would it be possible for you to do a short video showing how to implement this with Vimeo and RUclips? I made a post on the forum more than a year ago but it didn't get any traction. There's a tutorial someone made illustrating how to do this, but It's not possible to contain the video within a section. It defaults to the top of the page for some reason. I imagine there's a bit of custom code that needs to be introduced?

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

    Disney+ has something like this on it's member site. When you hover over the buttons at the top, they expand a few percent and play a video. Could you use this technique to recreate that effect? In other words, can you scale up the video slightly on hover? The Disney+ buttons also feature a text label centered on the button that stays on top even when the video is revealed. Any idea how to do that? Thanks so very much!!

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

      Hi :) Thanks for watching. Please consider joining my community and posting your question on the project help board:
      chat.pixelgeek.community/c/project-help

  • @OAVT27
    @OAVT27 4 года назад

    Can i create a dynamic video with audio? I want to do the trick where i can only listen to audio when hover over one video but keep other windows or videos playing except without audio?

  • @TwoWheelTuxido
    @TwoWheelTuxido 4 года назад +2

    Quick question: I haven’t tried this but I wonder if you could put a background video as the base item and then cover it up with an image. Then use interactions to make the image disappear on hover to reveal the video playing in the background?

    • @dominicmcmahon4798
      @dominicmcmahon4798 4 года назад +1

      I can't see why not. You'd just have to make the video and image the same sizes and display settings and then make the interaction. I like your thinking 😊

    • @kameraadthomas
      @kameraadthomas 4 года назад

      Isn't that literally what's in this video??

    • @TwoWheelTuxido
      @TwoWheelTuxido 4 года назад +1

      Tom , id have to watch it over again to remember exactly, but no. My proposal was different that what Nelson shared.

  • @drfunk1986
    @drfunk1986 4 года назад +1

    Hey Pixel Geek, i've noticed there is no tag for Video ID when i go and try and do this. Is there another way around this?

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

      Same problem, ever figure out where the video id bit is?

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

    If the video has audio will it play the audio on hover as well?

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

    What about muted auto-played video background on mobile? I'm having a real problem with one of my clients. It shows a play button on safari if I view it on mobile! It doesn't start on its own

  • @bdshihab1116
    @bdshihab1116 8 месяцев назад

    I want to create one thing like when i hover video start playing and when i hover out then video play stop.thanks

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

    can you share read only link or clone of this?? please

  • @drfunk1986
    @drfunk1986 4 года назад +1

    except there is no Video ID included in the dropdown.

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

    This is great but no sound is it possible that they can be heard ? 15 second each

  • @AlanJaskiewicz
    @AlanJaskiewicz 4 года назад

    Is there any way to pause the video when hovering off?

    • @pixelgeek
      @pixelgeek  4 года назад +2

      yes. but you would need to add some custom javascript or jquery to make that happen.

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

      @@pixelgeek Great video! I'm also trying to pause when hovering off, trying to find this additional code somewhere but with no success

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

      @@pixelgeek I would really like this feature as well. Could you possibly share that code?