Can you provide me with a URL, please?
It seem to be a theme-issue problem because enabling TwentySeventeen, allow the gallery to display.
Nevertheless, help to make it work on our theme would be appreciated.
And there is still a problem even on TwentySeventeen theme, with video not playing with following error messages in consoles:
Safari / Firefox: Failed to load resource: the server responded with a status of 404 ()
Chrome: Quite the same + [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive.
@sayontan
Where can I send you access for the page?
Where can I send you access for the page?
Forum policies prevent the provision of email ids here, so the only way to provide the link to a page is to provide it here.
That being said, if the error you are getting is in Flickr, it may be due to a recent change in Flickr’s API that returns invalid video URLs (Flickr made some changes about a month back that broke a lot of things for newly uploaded photos / videos). I opened a bug with Flickr 3 weeks back, but they haven’t come back with a resolution yet. This was originally reported as a part of a different thread. Note that older albums with videos will work fine.
If the error you are getting is in Google it is likely due to a missing video size. Note that Google doesn’t have a way to fetch videos in a lightbox – something that I reported as a feature request almost 10 months back. Since I had worked through all the pains of showing videos in Picasa I had found an alternative to get around this shortcoming. However Google recommends against using the alternative. Regardless, if you are unable to see a video, the best way is to explicitly specify an attribute video_size
to the shortcode. By default it gets set to m37
, but you might want to try m18
or m22
– probably those videos are going to be found.
If you are using Gutenberg you might not see a place to specify the video_size
(I have not included it in the interface mainly because Google warned me against using an undocumented flag). In such a case if you switch to the Classic Editor and go to the Text Mode, you will see a shortcode generated, which can be suitably modified.
Let me know if you require help with the shortcode.
@sayontan
Strangely the first problem just disappeared O_o… So now the plugin displays gallery with photos AND videos… Can’t understand what just happened…
I tried the three sizes in shorcodes for Google Photos (video_size=’m18′ (and others)), but the videos keep not functioning (the console 404 errors).
And it doesn’t seem to be related to Google Photo only, since first gallery displayed is through Flickr…
You can see the problem on this page: https://regions20-clone-02.habefast-maquettes.ch/test-photos/
Could you warn me when you see this post just to delete the previous link?
Thanks a lot for your time and your support!
You seem to have a different plugin that is interfering with videos (or maybe it is coming from your theme). Basically Photonic’s videos don’t have the red buttons that you are seeing in the video player. See here for examples of how the video looks.
Essentially, if something else is blocking Photonic’s videos, that is beyond what I can support. You will have to talk to your theme (or plugin) author to see how to prevent their script from associating with Photonic. Generally it is simple – I typically use specific classes to target Photonic galleries, which is why Photonic’s lightboxes will never target non-Photonic galleries. The other plugins should be able to do the same – exclude Photonic’s classes from such targeted behaviour.
The 404 error that you are getting from Flickr is due to the Flickr API bug that I linked to in my previous post. There is no way around it until Flickr resolves the issue.