Background video don't work in export site

Hello, I have a problem with a background video, I just exported my site and the video dosn’t work, is a static image, not a video. I don’t know what happen. Thank you very much !


https://preview.webflow.com/preview/supgirlscrew?preview=fc2241b9f6dbb8f7e4e10fba21b9c1dc
[1]: http://
[2]: Share a read-only link | Webflow University

Hi there @tato2278, could you please share the link to the exported site?

I am seeing the video on the site in Webflow:

https://cl.ly/03110Y3L0x0f/Screen%20Recording%202017-05-06%20at%2011.03%20AM.mov

Hi cyberdave,

This is the exported link: www.supgirlscrew.com but in this moment you can see that the video is ok, because the link is a your hosted video, but when i change the link to my host the video dosn’t work.

Thank you very much…

I would you think you would want to use some custom code, drop something like this into an Embedded Code block.

<video class="fullscreen" autoplay id="bgvid" loop>
  



<source src="https://player.vimeo.com/external/153103202.hd.mp4?s=3815812d1abb5def3357c7aef75163d026d228cf&profile_id=113">



</video>


    <style>
    video.fullscreen { 
        position: fixed;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: -5;
      background-size: cover;
      transition: 1s opacity;
    }
    .stopfade { 
       opacity: .5;
    }
    </style>

Instead of uploading the background video into Webflow by using the drag and drop background video object, use your link in the custom code above.

1 Like

HI Scott_Van_Zandt

Thank you very much for your idea, I’m going to try to do this. I know that I can do this, the problem is pay a webflow plan for win time, and must to write a lot of code as before.
Thank you another time.

Hi @tato2278,

There is one open issue where background videos that have been uploaded with spaces in file name will not get exported.

Could you please check the original file names, make sure those have no spaces in file name and replace the old videos and re-export? That should help.

Let me know if that does not help to solve the problem.

Hi cyberdave,

First sorry for my english, thank you very much, but I try to change the video name and upload to Webflow and after export the site but don’t work. It’s very strange, I export my site from Webflow, I unzip the folder and when I open my index.html in local all is ok, but when I push all my folders to my hosting, the video is static. Only work if I link the video label to your hosting service.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.