Video doesn't work with YouTube

Phoca Gallery - image gallery extension
pattbritt
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 May 2011, 15:35

Video doesn't work with YouTube

Post by pattbritt »

Hi there,

I have a serious problem with integrating YouTube-videos into the gallery. The problem exists in all of my joomla installations (j 1.5.23) and the phoca-versions 2.7.8 and even 2.8.0.

I just use the embed code of YouTube and copy it into the input-field. These steps are done correctly according the manual. When I now switch to the frontend it all looks good - first. But by clicking on the thumb of the video only the same thumbnail is shown up in a lightbox. No video is shown.

What am I doing wrong? Has YouTube changed something with the embed-code that doesn't fit to the phoca-code? In former versions everything worked well...

Please help soon! I really like the Phoca-Gallery and I don't want to have to take another component.

Thanks in advance for you help.

Patt
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Video doesn't work with YouTube

Post by Jan »

Hi, can I see the site where this occur? Is the youtube code still included after saving image?
If you find Phoca extensions useful, please support the project
pattbritt
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 May 2011, 15:35

Re: Video doesn't work with YouTube

Post by pattbritt »

Hi Jan,

thank you very much for your respond!

Yes, the code is still included after saving. Can I send you the link via mail?

Greets Patt
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Video doesn't work with YouTube

Post by Jan »

Did you test another code, e.g. this:
https://www.phoca.cz/documents/2-phoca-g ... 18-youtube

Jan
If you find Phoca extensions useful, please support the project
pattbritt
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 May 2011, 15:35

Re: Video doesn't work with YouTube

Post by pattbritt »

Hi Jan,

thank you, but I think that's what I did.

Thats the code copied from YouTube (right mouseclick on the videoscreen):

Code: Select all

<object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/v/g9sFl4Xul2o?version=3"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/g9sFl4Xul2o?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="390"></object>
An image as "filename" is also saved of course. Thats the picture that is shown in the Lightbox instead of the video.

Greetz Patt
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Video doesn't work with YouTube

Post by Jan »

Hi, see no problem with this code:

Image
:idea:
If you find Phoca extensions useful, please support the project
pattbritt
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 May 2011, 15:35

Re: Video doesn't work with YouTube

Post by pattbritt »

Thats weird. I just see the thumbnail... Do you have an idea what could be wrong? I really have no idea!

Could there be something wrong with the settings? Something with Joomla settings maybe? Do have an idea what could have such an effect on the phoca video-function?

Greets Patt
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Video doesn't work with YouTube

Post by Jan »

Hi, try to enable debug mode or php error reporting to see, if there is no error while saving the image.
https://www.phoca.cz/documents/16-joomla ... rs-on-site

Jan
If you find Phoca extensions useful, please support the project
pattbritt
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 May 2011, 15:35

Re: Video doesn't work with YouTube

Post by pattbritt »

Hi Jan,

thank you so much for your help. Unfortunatelly I couldn't fix the problem. As I had no time anymore to try, I had to choose a different solution and take another video-component. Thank you again for your posts.

Greets Patt
Acac7a
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 27 Feb 2012, 00:11
Location: Ardèche, France.

Re: Video doesn't work with YouTube

Post by Acac7a »

I had the same problem. I changed the type of pop up display.
For example, this probleme is present with shadowbox type or slimbox type or modal box (image only).
But not with Highslide Js or Modal Box which it works perfectly.

I hope this can help some of your visitors and users.
Post Reply