Hello,
I try to display youtube video on my website with PhocaGallery.
I've follow the documentation to display Youtube video (API google Key is OK. when I add a video, the information about video appear etc..)
The thumbnail is OK, but when I go on my public page, the video still not working (=> http://modelclub73.fr/vid%C3%A9os.html )
My joomla is in the last version, phoca gallery too.
I have spend some time on phoca forum to find a solution but i have not find it ...
Can you help me please?
Thanks in advance.
Problem to display youtube video
- Benno
- Phoca Hero
- Posts: 9095
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Problem to display youtube video
Hi,
see: https://www.phoca.cz/documents/50-phoca/ ... al-advices
Benno
see: https://www.phoca.cz/documents/50-phoca/ ... al-advices
Kind regards,8. Image or Iframe Method
Phoca Gallery uses two different methods to display images in detail window.
Image Method:
Modal Box (image only)
Shadowbox
Highslide JS (image only)
JAK lightbox
Slimbox
Iframe Method:
Standard Popop (not iframe but has the same behaviour like iframe)
Modal Box
Highslide JS
No Popup (not iframe but has the same behaviour like iframe)
Images displayed in detail window used image method are displayed with help of javascript. Because of the javascript effect, there are some limitations. E.g. images displayed in the slideshow are not all images from the category but only images listed on the site. This is because javascript can display only images listed on the site (of course there is possibility to load all the information about all images from the category to the javascript, but this can slow down the server or stop loading the site because of memory issues). You cannot add any statistics to javascript window, because it is not html (php) etc. Image method does not display Youtube code. If you want to display Youtube video in detail window, you need to use an iframe method.
Benno
-
- Phoca Newbie
- Posts: 3
- Joined: 18 Nov 2015, 19:47
Re: Problem to display youtube video
Hello,
Thanks for your answer.
I have tried to use iframe method, but it seems that still not working.
I copied and past this iframe <iframe width="560" height="315" src="https://www.youtube.com/embed/jdgb5LGPV-s" frameborder="0" allowfullscreen></iframe> from youtube in field "Video Code (YouTube)"
I don't know what I'm doing wrong.
Thanks for your answer.
I have tried to use iframe method, but it seems that still not working.
I copied and past this iframe <iframe width="560" height="315" src="https://www.youtube.com/embed/jdgb5LGPV-s" frameborder="0" allowfullscreen></iframe> from youtube in field "Video Code (YouTube)"
I don't know what I'm doing wrong.
-
- Phoca Hero
- Posts: 2725
- Joined: 28 Nov 2010, 17:20
Re: Problem to display youtube video
Hi,
Try after: frameborder="0"/>
https = correct?
Check also, whether or not iframe is allowed.
Kind regards, Christine
Try after: frameborder="0"/>
https = correct?
Check also, whether or not iframe is allowed.
Kind regards, Christine
-
- Phoca Newbie
- Posts: 3
- Joined: 18 Nov 2015, 19:47
Re: Problem to display youtube video
Hi,
I have try frameborder="0"/> and https seems to be OK.
If I use another Joomla plugin, youtube videos are working with the iframe link.
But I prefer to use phoca plugin, it's better when it works =)
I have try frameborder="0"/> and https seems to be OK.
If I use another Joomla plugin, youtube videos are working with the iframe link.
But I prefer to use phoca plugin, it's better when it works =)
- Jan
- Phoca Hero
- Posts: 47810
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem to display youtube video
Hi, Benno didn't mean to copy the iframe code from YouTube, but to use "iframe" method for displaying the popup window where the thumbnails are displayed.
https://www.phoca.cz/documents/50-phoca/ ... al-advices (try to see it again - the point
In Phoca Gallery you can display large thumbnails (even the YouTube video) with different ways:
- as popup (in image method - only image will be openened)
- as popup (in iframe method - window with image and e.g. html naviagation will be opened)
- no popup method
So you can display YouTube only with no popup or popup - iframe method, not with image method. As image only enlarge image, there is no option to run the video there.
So go to Phoca Gallery Options and enable different popup method.
Jan
https://www.phoca.cz/documents/50-phoca/ ... al-advices (try to see it again - the point
In Phoca Gallery you can display large thumbnails (even the YouTube video) with different ways:
- as popup (in image method - only image will be openened)
- as popup (in iframe method - window with image and e.g. html naviagation will be opened)
- no popup method
So you can display YouTube only with no popup or popup - iframe method, not with image method. As image only enlarge image, there is no option to run the video there.
So go to Phoca Gallery Options and enable different popup method.
Jan
If you find Phoca extensions useful, please support the project