Site logo

Archived topic

Video in header (not as background) with vimeo

5 replies · Started by Carlo on January 7, 2021

Viewing posts 1–6 of 6

Hi there,

first of all, Happy new year! :)

I need to place a vimeo video in the header. It's not meant to be as background, it's a "classic" video inside a frame, placed in a part of the header. Users should be able to clic on it and play it (no autoplay).

The header is a Block hook element "generate_after_header" and I am designing its layout with generateblocks.

The problem is:
- when I place a vimeo video in the body of a page: it works
- when I place the same code in the header, I can see it in the header's element editing page but in the published page I only see the url link to the vimeo video and not the video itself.

Is there a way to fix this?

Thank you. Best wishes. Carlo

Hi there,

can you share a link to where i can see the issue ?

Hi David,

sure, I have just attached it in the private info.

In the header you can see that is visibile only the url instead of the video

In the body page you can see that the video is visible.

- same vimeo block for both the videos
- I have also tested with the video in the header only (without the one in the body)

The only way I have found to make it show is with the direct link to the mp4 file but this way
- I lose the vimeo controller
- I don't know how to disable the autoplay

Thank you

It works. Thank you David

Glad to hear that - we'll take a look to see why the Block didn't work :)

This archived topic is closed to new replies.