Youtube in gallery

Phoca Gallery - image gallery extension
TGHLA
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 25 Jul 2018, 08:45

Youtube in gallery

Post by TGHLA »

I have a problem integrating youtube videos in the phoca gallery.
More precisely, automatic integration already works via "import".
However, only the preview image will be displayed.
It is not possible for me to play the video.

That's the code I've included
(<iframe width = "560" height = "315" src = "https://www.youtube.com/embed/U3Pp078u5cw?rel=0" frameborder = "0" allow = "autoplay; encrypted-media" allowfullscreen> </ iframe>)

Here https://www.leichtathletik-herford.de/g ... 6-tgh.html (top right) is the thumbnail.

Could someone explain to me what I am doing wrong?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9112
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Youtube in gallery

Post by Benno »

Hi,
Could someone explain to me what I am doing wrong?
Ja, kann ich. Du benutzt eine Image Methode für die Detailansicht. (Slimbox)
Du kannst aber nur mit Iframe Methoden YouTube Videos anzeigen.
Siehe: 8. Image oder Iframe Methode http://www.reisefotografien.eu/phoca-be ... e-hinweise
Mit der Image Methode kann kein Youtube Code wieder gegeben werden. Falls Sie Youtube Videos im Detailfenster anzeigen wollen, müssen Sie die Iframe Methode verwenden.
Freundliche Grüße,
Benno
TGHLA
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 25 Jul 2018, 08:45

Re: Youtube in gallery

Post by TGHLA »

:-) Thank´s a lot!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9112
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Youtube in gallery

Post by Benno »

You're welcome!

Kind regards,
Benno
Post Reply