Page 1 of 1

Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 7:50 am
by GNP
Hi,

I'm currently trying out the Video Gallery extension. It all looks great, except in Preview, when I click on a video thumbnail, the Lightbox opens, and I get this message:


"Firefox Can't Open This Page. To protect your security, vimeo.com will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window."



Any help would be greatly appreciated. Thanks.

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 8:15 am
by Pablo
I am not sure if this related to the extension.
It looks like the security settings of your browser prevent the video from being played in local preview.

If you need further assistance then please provide a DEMO project so I can see all your settings.

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 8:19 am
by BaconFries
How are you writing the vimeo url to be used?. Is the video private or password protected?. As already mentioned it may simply be blocked by the browser (Firefox) for security.

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 8:56 am
by GNP
The same error happens in other browsers I've tried. I think vimeo is the one that's blocking this. I'm trying to see if there are settings in my Vimeo account that I can adjust, but so far no good...

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 9:33 am
by GNP
in my vimeo settings,

I've set to "Public", "Can be embedded anywhere".

But I'm still getting the same error message.

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 9:53 am
by alan_sh
It's Firefox doing this as a security measure.I'm not sure you can turn it off - and certainly your customers will have the same issue.

I don't know about Vimeo but with Youtube you can get some HTML embed code to embed a video in an HTML window (see https://support.google.com/youtube/answ ... 0?hl=en-GB). Maybe that is the direction you need to go (a quick search produced this https://vimeo.zendesk.com/hc/en-us/arti ... s-overview).

Alan

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 10:00 am
by GNP
alan_sh wrote: Fri Feb 04, 2022 9:53 am It's Firefox doing this as a security measure.I'm not sure you can turn it off - and certainly your customers will have the same issue.

I don't know about Vimeo but with Youtube you can get some HTML embed code to embed a video in an HTML window (see https://support.google.com/youtube/answ ... 0?hl=en-GB). Maybe that is the direction you need to go (a quick search produced this https://vimeo.zendesk.com/hc/en-us/arti ... s-overview).

Alan
Like i've said, I've tried previewing in other browsers like Microsoft Edge, and I still get the same error message. Also I need just general workability for both vimeo and youtube, not just youtube.

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 10:05 am
by BaconFries
What does the vimeo url look like? Please provide an example so that it can be tried and tested!. Note this should just be a url url not enclosed in a iframe etc.

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 10:08 am
by GNP
Basic URL like this:

https://vimeo.com/539201074

That's all I've put into the Video Gallery entry. I have my own thumbnails, and the thumbnails all work fine in preview. Just that darned error message when the Video Gallery opens up the Lightbox!

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 10:31 am
by Pablo
The URL is incorrect, it should be
https://player.vimeo.com/video/539201074

See also the examples in the documentation.

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 12:32 pm
by GNP
Pablo wrote: Fri Feb 04, 2022 10:31 am The URL is incorrect, it should be
https://player.vimeo.com/video/539201074

See also the examples in the documentation.
Ahhh, awesome, now it works! Thanks so much Pablo!

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 1:03 pm
by GNP
Okay, the videos now embed correctly in the lightbox. Sweet. Just one more thing - I can't seem to get rid of the white BG bars on top and below the embedded video in the lightbox:

Image

I've tried all the options in the Video Gallery entries, but to no avail!

Anyway to get rid of those, or at least change their colours?

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 1:41 pm
by Pablo
This may work (between the head tags of Page HTML)

Code: Select all

<style>
#lightcase-content 
{
    background-color: #000000 !important;
}
</style>

Re: Video Gallery extension cannot embed Vimeo links

Posted: Fri Feb 04, 2022 3:41 pm
by GNP
Pablo wrote: Fri Feb 04, 2022 1:41 pm This may work (between the head tags of Page HTML)

Code: Select all

<style>
#lightcase-content 
{
    background-color: #000000 !important;
}
</style>
Awesome, it worked! Thanks so much!