Webflow CMS background videos using Vimeo Pro

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • Thank you so much for checking out my tutorial! In this video I show you how we can build a Webflow project using Vimeo videos as backgrounds, pulled in from the Webflow CMS and set using the CSS property object-fit: cover..
    Links from the video:
    Emil's solution: webflow.com/website/cms-objec...
    Try Webflow with our affilliate link - webflow.grsm.io/4838125
    Follow me:
    Website: www.tompiggott.co.uk/
    Newsletter: www.tompiggott.co.uk/contact#...
    Instagram: / tompiggottdesign
    Facebook: / tompiggottdesign
    Dribbble: dribbble.com/tompiggott/
    LinkedIn: / tompiggottdesign
    Music: “Still Standing” by Anno Domini Beats

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

  • @wearestudiotonic
    @wearestudiotonic  2 года назад +6

    For anyone having trouble getting this to work, Vimeo changed the way these videos are hosted and I don't think this solution works anymore. You can still get the links from Vimeo in the same place, but now the code looks like this:
    Paste this code into the head of the page. This allow the video to be sized by it's parent (so you can either size the embed to whatever size you like, or make the embed 100% width and height and size it's parent div):
    video {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    Add an embed element on the page where you want to show the video and replace "ADD MP4 SOURCE CODE HERE" with the link from Vimeo:
    NOTE - you can experiment with where the video is hosted if Vimeo Pro isn't an option.

    • @l4v4nya
      @l4v4nya 2 месяца назад

      Thank you, i was struggling with how to embed

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

    This was exactly what I was looking for, thank you !

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

    This is amazing - ty so much

  • @ryantaylor-
    @ryantaylor- 2 года назад +1

    massively helpful cheers.

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

    Dude... you're amazing. Thank you.

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

    Top! And you pronounced it perfectly ;)

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

    wild

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

    Would you be able to remake this tutorial with the working options? I am struggling to get this to work even with the pinned comment aaaa :(

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

    Has this stopped working?

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

    great! thanks! i hope u realized that u need to zoom in the text a lil bit more. :D

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

    I want to change the video in a video player through a button or thumbnail it is basic, common on many website how comme it is hard to figure it out how to do it in webflow?

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

      You should be able to use the light box element for that. You can put anything you like inside to act as the trigger, then just place a link to your video in the light box settings

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

      @@wearestudiotonic Does the lightbox will be over my page? if so I don't want that.

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

      It opens the video in a modal with an overlay which covers the page. If not, you’ll have to just create a custom interaction using Webflow interactions.

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

      You might have to write some jQuery to achieve this I think. Like when you click one thumbnail, hide all videos, show this one video etc

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

    Does this work with After Effects?

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

      Sorry, I don’t understand the question?

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

      @@wearestudiotonic would you be able to export a after effects video, that you've made, and use the same coding layout but with the after effects link?

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

      @@diorcolee Yeah any video should work I think. I've only tried with MP4s so as long as it's that file type, it doesn't matter where it was produced. One thing to keep in mind with videos that autoplay on websites is to keep the length short and the file size small so they have a better chance of loading.

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

    Hi Mate, great video but it seems the distribution links have changed since your video, the file links no longer work with the embed and work around from our very helpful friend that uploaded his code

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

      Did you manage to figure this out? I'm stuck here too!

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

      @@harrymolyneux yeah I figured it out. You just need to change the code in the embed to the url of the required video def link. So make sure you use the same quality video for all the cms videos. Still keep the video ID the same.

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

      @@zacchaeusburrell719 Hey, could you explain that a little more in detail? I am uncertain if I understand everything correct.

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

      @@zacchaeusburrell719 I got it, all good

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

      @@sebobastiseppobas sorry mate, didn’t see this. Glad you got it sorted

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

    Is it possible to trigger the video on mouse hover?