embed video hosted on remote sever (youtube.com or video.google.com)

StuntmanMike

Joined: 2009-07-19
Posts: 6
Posted: Mon, 2009-07-20 22:00

I'm having an issue with this module. When I try to upload a video from a site, its tells me that the upload was successful, but when I try to watch the video all I get is a thumbnail where the video should be. I turned on debug and it says that the video uploaded successfully, i can even watch it in the debug window, but when I try to watch it in the gallery I just see the thumbnail.

Debug Output:

Site Admin Your Account Logout
Home
Gallery Rausch Creek 7/4/09 Videos
Processing items

Memory used: 20748920, total: 90M

Continue...
Variable Parameters
debugOutput=true
useInternalFlvPlayer=true
youtubeShowRelated=false
width=480
height=295
externalFlvPlayer=
externalFlvPlayerVars=
flvThumbnail=
useRemoteSize=false
autoStart=false
watermarkVideos=false
watermarkImage=
watermarkAlignment=left
wordwrapSummary=0
wordwrapDescription=0
allowFullScreen=false
Youtube URL Parsing Results
video_id: lQdDB_tYBM0
extra_embed_params:
gdata feed: http://gdata.youtube.com/feeds/api/videos/lQdDB_tYBM0
Youtube XML Dump
http://gdata.youtube.com/feeds/api/videos/lQdDB_tYBM02009-07-15T06:45:07.000Z2009-07-19T00:19:08.000Z201Offroadhttp://gdata.youtube.com/feeds/api/users/201offroadAutosMVI, 0616MVI 0616title: MVI 0616
summary:
thumbnail: http://i.ytimg.com/vi/lQdDB_tYBM0/0.jpg
Item Parameters
url: http://www.youtube.com/watch?v=lQdDB_tYBM0
title: MVI 0616
thumbnailUrl: http://i.ytimg.com/vi/lQdDB_tYBM0/0.jpg

summary:

description:

thumbnail: /home/mlotero/201offroad.net_gallery_g2data/tmp/add50I58q.jpg
mimeType: image/jpeg
fileName: MVI_0616
width: 480
height: 295
Thumbnail Resize
Checking to see if a toolkit that can resize images was found.
Found thumbnail size in album preferences: 150
Using ratio from original thumbnail of 1.3333333333333. Resizing thumbnail image to 200 x 150: /home/mlotero/201offroad.net_gallery_g2data/tmp/add50I58q.jpg -> /home/mlotero/201offroad.net_gallery_g2data/tmp/addttsxht.jpg

Video Successfully Added to your Gallery Album

 
apippin

Joined: 2007-06-11
Posts: 190
Posted: Wed, 2009-07-22 03:51
StuntmanMike wrote:
I'm having an issue with this module. When I try to upload a video from a site, its tells me that the upload was successful, but when I try to watch the video all I get is a thumbnail where the video should be. I turned on debug and it says that the video uploaded successfully, i can even watch it in the debug window, but when I try to watch it in the gallery I just see the thumbnail.

The only thing I can think of is that Gallery is not allowing the raw HTML markup in the description field of the item you added. If you click on "edit item" what text appears in your description box? Make sure you followed the directions on the wiki page for this project that describe how to modify the gallery source code to allow the raw HTML markup to work properly.

http://codex.gallery2.org/Gallery2:Modules:embedvideo#External_Dependencies_.2F_Patching_Required

 
StuntmanMike

Joined: 2009-07-19
Posts: 6
Posted: Wed, 2009-07-22 05:42

I did all that and I'm still getting the issue, no video, just a thumbnail.

 
StuntmanMike

Joined: 2009-07-19
Posts: 6
Posted: Wed, 2009-07-22 08:35

I believe that I have figured it out, the theme that I use doesn't show the image description for the image. Are there any work-arounds for that?

 
apippin

Joined: 2007-06-11
Posts: 190
Posted: Wed, 2009-07-22 13:08
StuntmanMike wrote:
I believe that I have figured it out, the theme that I use doesn't show the image description for the image. Are there any work-arounds for that?

Hmm. I've never heard of a theme that did such a thing. That's a gallery specific question. I'm not sure how you work around that one, unless you modify the theme somehow to display the description field.

 
StuntmanMike

Joined: 2009-07-19
Posts: 6
Posted: Thu, 2009-07-23 02:54

yea, its the wordpressembedded theme, its the only theme that works well with my wordpress page. I guess I'll mess around with the theme and see if I can get the description field to work.

 
StuntmanMike

Joined: 2009-07-19
Posts: 6
Posted: Sun, 2009-07-26 09:23

Is there a variable that I can use to center up the video? Instead of having to insert center tags every time I upload a video.

 
gmfaizuddin

Joined: 2009-07-25
Posts: 1
Posted: Tue, 2009-07-28 21:50

hai apippin

Thanks for the module....i installed it without any problems. but when im trying to add utube video or google evideo it goes through the process off accepting what i requested but finishes half way through and gives me a blank screen.

if you want i can give you the site admin password details for you to check it as the gallary is still not yet setup.

I m using the latest Gallery pack.

Thx for your support

 
GotWoody

Joined: 2006-08-22
Posts: 9
Posted: Fri, 2009-08-07 13:22

Same problem here.

 
bryanbroussard99
bryanbroussard99's picture

Joined: 2009-08-15
Posts: 9
Posted: Mon, 2009-08-17 04:53

Gallery version: 2.3
PHP version: 5.2.5
Gallery Link: http://soscomputers.org/joomla2/gallery/
Webserver: Apache 1.3.33
Database: MySql 5.0.185.0.18
Operating system: Linux
Browser: Chrome 3.0.195.6
Youtube video url; http://www.youtube.com/watch?v=2Cc6koI0fDo

I attempt to add the youtube video to a fresh install of your gallery plugin. It says it is succwwsful, it shows up on the page as if it is working correctly. BUt when I click on the thumbnail, I see it as an image, with no video playback.

I've followed the directions on: http://codex.gallery2.org/Gallery2:Modules:embedvideo

I attempt to add the debugOutput=true variable but it never shows up. I have turned on the debug setting in the gallery config file. I've left it on and attached the debug output (debug.txt) from adding the video in the Youtube video url above.

I also could not save the html file so attached a screenshot - Untitled-1.jpg

If you need anything, just let me know.

acadianawebsites.com

 
apippin

Joined: 2007-06-11
Posts: 190
Posted: Mon, 2009-08-17 05:33
bryanbroussard99 wrote:
I attempt to add the youtube video to a fresh install of your gallery plugin. It says it is succwwsful, it shows up on the page as if it is working correctly. BUt when I click on the thumbnail, I see it as an image, with no video playback.

The only thing I can think of is that you are actually seeing the thumbnail as the image, but are missing the description. Other folks on this forum posted a similar problem if you read some of their entries. Here is one of them:

"I believe that I have figured it out, the theme that I use doesn't show the image description for the image. Are there any work-arounds for that?"

And my response:

"Hmm. I've never heard of a theme that did such a thing. That's a gallery specific question. I'm not sure how you work around that one, unless you modify the theme somehow to display the description field."

 
apippin

Joined: 2007-06-11
Posts: 190
Posted: Mon, 2009-08-17 05:45
gmfaizuddin wrote:
Thanks for the module....i installed it without any problems. but when im trying to add utube video or google evideo it goes through the process off accepting what i requested but finishes half way through and gives me a blank screen.

The next step in the process (based on your debug output) is the action of applying the watermark to the image. That involves calling some internal Gallery methods that depend on various graphics toolkits being installed. The next step is calling some other gallery internal methods to add the item to the photo album. So, the first thing you can try is disabling watermarks. If that works, then you have some kind of problem with the graphics toolkits you have installed in gallery. Give that a shot.

 
bryanbroussard99
bryanbroussard99's picture

Joined: 2009-08-15
Posts: 9
Posted: Mon, 2009-08-17 21:54

I solved the issue. I am using Aptana and it was not properly editing the GalleryUtilities.class file in modules/core/classes/.

I made the change in line 859 and it works! Great job on this plugin!

acadianawebsites.com

 
apippin

Joined: 2007-06-11
Posts: 190
Posted: Wed, 2009-10-14 03:26
StuntmanMike wrote:
Is there a variable that I can use to center up the video? Instead of having to insert center tags every time I upload a video.

I just added a new parameter called "centerVideo" that will add html centering tags "<center>" to the beginning of the description (embed video code) and "</center>" to the end of it. It will be in the next release, coming very soon.

 
qwaq

Joined: 2009-11-11
Posts: 14
Posted: Tue, 2009-12-22 09:43

Hi,

I just have discovered the Embed video module, which I was looking for for quite long. Great thanks to you, apippin!
I am not very confident in my computer skills, so I'd rather have an external look to what I did...

I posted a video on youtube, which I'd like to post in my gallery2. After installing the module (which I though I would never be able of...), I followed the Add Item > Embed Video.
I finally get the following error message:

Quote:
Error (ERROR_BAD_PATH) : Unable to get video information at url: http://www.youtube.com/watch?v=Agl-jD4kjoQ - HTTP/1.0 404 Not Found
* in modules/embedvideo/ItemAddEmbedVideo.inc at line 236 (gallerycoreapi::error)
* in modules/core/ItemAdd.inc at line 159 (itemaddembedvideo::handlerequest)
* in ??? at line 0 (itemaddcontroller::handlerequestwithprogressbar)
* in modules/core/classes/GalleryTemplateAdapter.class at line 1092
* in g2data/smarty/templates_c/%%3044858115/debaser/%%05^051^05105C3E%%theme.tpl.php at line 128 (gallerytemplateadapter::trailer)
* in lib/smarty/Smarty.class.php at line 1255
* in modules/core/classes/GallerySmarty.class at line 61 (smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 241 (gallerysmarty::fetch)
* in main.php at line 506 (gallerytemplate::display)
* in main.php at line 104
* in main.php at line 88

and

Quote:
Variable Parameters
debugOutput=true
useInternalFlvPlayer=true
youtubeShowRelated=false
width=320
height=240
externalFlvPlayer=
externalFlvPlayerVars=
flvThumbnail=
useRemoteSize=false
autoStart=false
watermarkVideos=true
watermarkImage=
watermarkAlignment=left
wordwrapSummary=0
wordwrapDescription=0
allowFullScreen=false
centerVideo=false
Youtube URL Parsing Results
video_id: Agl-jD4kjoQ
extra_embed_params:
gdata feed: http://gdata.youtube.com/feeds/api/videos/Agl-jD4kjoQ

Have I done anything wrong?

Thanks for yout help!

cheers

 
apippin

Joined: 2007-06-11
Posts: 190
Posted: Tue, 2009-12-22 15:29
qwaq wrote:
Hi,

I just have discovered the Embed video module, which I was looking for for quite long. Great thanks to you, apippin!
I am not very confident in my computer skills, so I'd rather have an external look to what I did...

I posted a video on youtube, which I'd like to post in my gallery2. After installing the module (which I though I would never be able of...), I followed the Add Item > Embed Video.
I finally get the following error message:

Quote:
Error (ERROR_BAD_PATH) : Unable to get video information at url: http://www.youtube.com/watch?v=Agl-jD4kjoQ - HTTP/1.0 404 Not Found
...

You have done nothing wrong. The script relies on youtube API calls to extract information about the video from the youtube site. After posting a new video to youtube, it can take up to 24-48 hours for them to make information about that video available through this API. So, if you try to add it again in a day or two, it should work just fine...

 
hansooloo

Joined: 2010-01-06
Posts: 4
Posted: Thu, 2010-01-07 15:16

I am trying to add an FLV or an MP4 file to my album (hosted on the same server as where G2 is running), but it is failing to do so giving me the following error [Connection refused, requesting]:

Quote:
Check the version of the core plugin The version of the core plugin is ok getParameter lock.system for core plugin fopen(/raid0/data/naswebsite/g2data/locks/1633, wb+, 0) flock(Resource id #112, 5, ) file_exists(/raid0/data/naswebsite/g2data/cache/module/embedvideo/0/0/0.inc) fsockopen(n7700.baygins.dyndns.org, 21080, , , 5) Error 111: 'Connection refused' requesting http://n7700.baygins.dyndns.org:21080/BE.mp4 getParameter id.adminGroup for core plugin realpath(/raid0/data/naswebsite/www/g2/modules/core/classes/../../../) realpath(/raid0/data/naswebsite/www/g2/)

I can download this file from the web server directly if paste the URL into the web browser. So I am a little lost here.

Any ideas?

Further debug output below:

Quote:
Adding items

Memory used: 0, total: 0

Error (ERROR_BAD_PATH) : Unable to find the video at url: http://n7700.baygins.dyndns.org:21080/BE.mp4 -

* in modules/embedvideo/ItemAddEmbedVideo.inc at line 969 (GalleryCoreApi::error)
* in modules/core/ItemAdd.inc at line 159 (ItemAddEmbedVideo::handleRequest)
* in ??? at line 0 (ItemAddController::handleRequestWithProgressBar)
* in modules/core/classes/GalleryTemplateAdapter.class at line 1089
* in /raid0/data/naswebsite/g2data/smarty/templates_c/%%3959426521/matrix/%%3A^3A8^3A818B59%%theme.tpl.php at line 75 (GalleryTemplateAdapter::trailer)
* in lib/smarty/Smarty.class.php at line 1255
* in modules/core/classes/GallerySmarty.class at line 61 (Smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 241 (GallerySmarty::fetch)
* in main.php at line 506 (GalleryTemplate::display)
* in main.php at line 104
* in main.php at line 88

Continue...
Variable Parameters
debugOutput=true
useInternalFlvPlayer=true
youtubeShowRelated=false
width=320
height=240
externalFlvPlayer=
externalFlvPlayerVars=
flvThumbnail=
useRemoteSize=false
autoStart=false
watermarkVideos=true
watermarkImage=
watermarkAlignment=left
wordwrapSummary=0
wordwrapDescription=0
allowFullScreen=false
centerVideo=false

 
m22
m22's picture

Joined: 2007-09-30
Posts: 16
Posted: Sun, 2010-01-31 13:36

Error on new video.

Quote:
Variable Parameters
debugOutput=true
useInternalFlvPlayer=true
youtubeShowRelated=false
width=412
height=500
externalFlvPlayer=
externalFlvPlayerVars=
flvThumbnail=
useRemoteSize=false
autoStart=false
watermarkVideos=false
watermarkImage=
watermarkAlignment=left
wordwrapSummary=0
wordwrapDescription=0
allowFullScreen=false
centerVideo=false
Youtube URL Parsing Results
video_id: kpKrrFQVBUQ
extra_embed_params:
gdata feed: http://gdata.youtube.com/feeds/api/videos/kpKrrFQVBUQ
Error

An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PATH) : Unable to get video information at url: http://www.youtube.com/v/kpKrrFQVBUQ - HTTP/1.0 404 Not Found

* in modules/embedvideo/ItemAddEmbedVideo.inc at line 236 (gallerycoreapi::error)
* in modules/core/ItemAdd.inc at line 84 (itemaddembedvideo::handlerequest)
* in main.php at line 231 (itemaddcontroller::handlerequest)
* in main.php at line 94
* in main.php at line 83

System Information
Gallery version 2.2.1
PHP version 4.4.8 cgi-fcgi
Webserver Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8g mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Database mysqlt 5.0.85-community
Toolkits ImageMagick, Thumbnail, Gd
Operating system Linux c3p.hostingzoom.com 2.6.18.2-grsec #3 SMP Tue Feb 12 09:10:14 CST 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 GTB6 (.NET CLR 3.5.30729) Ubiquity/0.1.4

Please help. Thank you.

 
apippin

Joined: 2007-06-11
Posts: 190
Posted: Sat, 2010-02-20 22:33
m22 wrote:
Error on new video.

Quote:

An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PATH) : Unable to get video information at url: http://www.youtube.com/v/kpKrrFQVBUQ - HTTP/1.0 404 Not Found

Please help. Thank you.

This is a typical youtube error. Basically, youtube can take a few days to make the "metadata" available for your video. So, if you get this error, and it is a video that was recently added to youtube, give it a day or 2 and try again. If it is still a problem, please let me know. Generally, this is why it happens though.

 
m22
m22's picture

Joined: 2007-09-30
Posts: 16
Posted: Sun, 2010-02-21 07:17

It's working fine now. Thank you.

 
borkhuis

Joined: 2009-02-16
Posts: 6
Posted: Fri, 2010-05-28 09:48

I am using this module and I am quite happy with it. The only thing I would like is an integration with the Lightbox module (like Videobox), but that is not really essential.

There is one thing however that I came across while trying to add a new video to my site. This failed with a ERROR_BAD_PATH error. When I tried to extract the gdata by hand it also failed. When I checked the page http://code.google.com/apis/youtube/2.0/reference.html it stated that the URL's should be escaped, for example a '-' should be replaced with "%2D". After modifying the URL with this fix I was able to extract the gdata.

To fix this the url provided to the YouTube API should be changed. You can do this by changing line 221 from:

$feed = $youtubeApiUrl."videos/$video_id";

to

$feed = $youtubeApiUrl."videos/".urlencode($video_id);
 
mirono

Joined: 2010-06-21
Posts: 1
Posted: Mon, 2010-06-21 11:35

When I try to add a YouTube video, I get the following error:

Error (ERROR_BAD_PATH) : Unable to get video information at url: http://www.youtube.com/v/N8RtTkErcrc - HTTP/1.0 404 Not Found

* in modules/embedvideo/ItemAddEmbedVideo.inc at line 236 (GalleryCoreApi::error)
* in modules/core/ItemAdd.inc at line 159 (ItemAddEmbedVideo::handleRequest)
* in ??? at line 0 (ItemAddController::handleRequestWithProgressBar)
* in modules/core/classes/GalleryTemplateAdapter.class at line 1092
* in g2data/smarty/templates_c/%%4159516043/matrix/%%3A^3A8^3A818B59%%theme.tpl.php at line 75 (GalleryTemplateAdapter::trailer)
* in lib/smarty/Smarty.class.php at line 1255
* in modules/core/classes/GallerySmarty.class at line 61 (Smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 241 (GallerySmarty::fetch)
* in main.php at line 506 (GalleryTemplate::display)
* in main.php at line 104
* in main.php at line 88

המשך...
Variable Parameters
debugOutput=true
useInternalFlvPlayer=true
youtubeShowRelated=false
width=320
height=240
externalFlvPlayer=
externalFlvPlayerVars=
flvThumbnail=
useRemoteSize=false
autoStart=false
watermarkVideos=true
watermarkImage=
watermarkAlignment=left
wordwrapSummary=0
wordwrapDescription=0
allowFullScreen=false
centerVideo=false
Youtube URL Parsing Results
video_id: N8RtTkErcrc
extra_embed_params:
gdata feed: http://gdata.youtube.com/feeds/api/videos/N8RtTkErcrc

 
borkhuis

Joined: 2009-02-16
Posts: 6
Posted: Mon, 2010-06-21 17:07
Quote:
When I try to add a YouTube video, I get the following error:

Error (ERROR_BAD_PATH) : Unable to get video information at url: http://www.youtube.com/v/N8RtTkErcrc - HTTP/1.0 404 Not Found

Make sure your video is marked public (you can change it later to unlisted or private) and usually within an hour the video will be available.

 
rehaha

Joined: 2010-06-28
Posts: 12
Posted: Mon, 2010-06-28 14:24

hi there,

I've been using this module without any problem. I did not need it for quite a while, and today, I'm facing an issue I do not understand:

Quote:
Error (ERROR_BAD_PATH) : Unable to extract embedded video information from url: http://www.dailymotion.com/video/xdts3o_lecture_people

* in modules/embedvideo/ItemAddEmbedVideo.inc at line 588 (gallerycoreapi::error)
* in modules/core/ItemAdd.inc at line 159 (itemaddembedvideo::handlerequest)
* in ??? at line 0 (itemaddcontroller::handlerequestwithprogressbar)
* in modules/core/classes/GalleryTemplateAdapter.class at line 1092
* in g2data/smarty/templates_c/%%3044858115/debaser/%%05^051^05105C3E%%theme.tpl.php at line 128 (gallerytemplateadapter::trailer)
* in lib/smarty/Smarty.class.php at line 1255
* in modules/core/classes/GallerySmarty.class at line 61 (smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 241 (gallerysmarty::fetch)
* in main.php at line 506 (gallerytemplate::display)
* in main.php at line 104
* in main.php at line 88

Quote:
Variable Parameters
debugOutput=true
useInternalFlvPlayer=true
youtubeShowRelated=false
width=320
height=240
externalFlvPlayer=
externalFlvPlayerVars=
flvThumbnail=
useRemoteSize=false
autoStart=false
watermarkVideos=true
watermarkImage=
watermarkAlignment=left
wordwrapSummary=0
wordwrapDescription=0
allowFullScreen=false
centerVideo=false

This is not a "video not found" problem, since this video has been uploaded few days ago, and tagged as Public.
So, what is it?...

Thanks for your great job & help!

sincerely

 
apippin

Joined: 2007-06-11
Posts: 190
Posted: Thu, 2010-09-30 16:55
borkhuis wrote:
I am using this module and I am quite happy with it. The only thing I would like is an integration with the Lightbox module (like Videobox), but that is not really essential.

There is one thing however that I came across while trying to add a new video to my site. This failed with a ERROR_BAD_PATH error. When I tried to extract the gdata by hand it also failed. When I checked the page http://code.google.com/apis/youtube/2.0/reference.html it stated that the URL's should be escaped, for example a '-' should be replaced with "%2D". After modifying the URL with this fix I was able to extract the gdata.

To fix this the url provided to the YouTube API should be changed. You can do this by changing line 221 from:

$feed = $youtubeApiUrl."videos/$video_id";

to

$feed = $youtubeApiUrl."videos/".urlencode($video_id);

An excellent catch! I've made the fix to the code and will release it in the next release. Thanks for your help.

 
apippin

Joined: 2007-06-11
Posts: 190
Posted: Thu, 2010-09-30 17:21
borkhuis wrote:
I am using this module and I am quite happy with it. The only thing I would like is an integration with the Lightbox module (like Videobox), but that is not really essential.

There is one thing however that I came across while trying to add a new video to my site. This failed with a ERROR_BAD_PATH error. When I tried to extract the gdata by hand it also failed. When I checked the page http://code.google.com/apis/youtube/2.0/reference.html it stated that the URL's should be escaped, for example a '-' should be replaced with "%2D". After modifying the URL with this fix I was able to extract the gdata.

To fix this the url provided to the YouTube API should be changed. You can do this by changing line 221 from:

$feed = $youtubeApiUrl."videos/$video_id";

to

$feed = $youtubeApiUrl."videos/".urlencode($video_id);

An excellent catch! I've made the fix to the code and will release it in the next release. Thanks for your help.

 
apippin

Joined: 2007-06-11
Posts: 190
Posted: Thu, 2010-09-30 17:22
rehaha wrote:
hi there,

I've been using this module without any problem. I did not need it for quite a while, and today, I'm facing an issue I do not understand:

Quote:
Error (ERROR_BAD_PATH) : Unable to extract embedded video information from url: http://www.dailymotion.com/video/xdts3o_lecture_people

This is not a "video not found" problem, since this video has been uploaded few days ago, and tagged as Public.
So, what is it?...

Thanks for your great job & help!

sincerely

This is a classic video parsing issue/change on the dailymotion video page. I'll need to update the module to deal with the changes and parse the video content properly. I'll work on that fix shortly for this.

 
designbysue

Joined: 2005-04-12
Posts: 81
Posted: Tue, 2010-10-19 03:07

Have installed this plug in and it works but I tried to change the variables in the Embed Video Settings and am having trouble. I deleted height and width and tried to reenter using larger numbers (640 by 360) to allow for the video to play larger than the default that was set in the original install. When I enter the variable and click on the add variable button, the new variable is not added to the list. I also tried Add a new override variable and nothing worked there either. Any ideas?

Thanks
Sue

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2012-01-17 13:16

Comments are now permitted for this topic.

 
swifter_uk

Joined: 2011-12-05
Posts: 14
Posted: Tue, 2012-01-17 13:52

I am trying to get this module to work on my G2 installation here: http://hovedogs.co.uk/gallery/gallery2/main.php

I have turned on Raw html and completed the commenting out to the GalleryUtilities.class file.

I just get this when I try to embed a link:

Error (ERROR_BAD_PATH) : Unable to get video information at url: http://www.youtube.com/watch?v=_tTf2YHxaVw - 
in modules/embedvideo/ItemAddEmbedVideo.inc at line 240 (GalleryCoreApi::error) 
in modules/core/ItemAdd.inc at line 159 (ItemAddEmbedVideo::handleRequest) 
in ??? at line 0 (ItemAddController::handleRequestWithProgressBar) 
in modules/core/classes/GalleryTemplateAdapter.class at line 1089
in rgt2data_bgoargt/smarty/templates_c/%%2048501488/matrix/%%3A^3A8^3A818B59%%theme.tpl.php at line 75 (GalleryTemplateAdapter::trailer) 
in lib/smarty/Smarty.class.php at line 1255
in modules/core/classes/GallerySmarty.class at line 61 (Smarty::fetch) 
in modules/core/classes/GalleryTemplate.class at line 241 (GallerySmarty::fetch) 
in main.php at line 506 (GalleryTemplate::display) 
in main.php at line 104
in main.php at line 88

I cannot seem to add the debug variables nor any others for that matter.

Anyone any idea what is going on here...do I have to have a youtube devID, if so how do I get it please?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2012-01-17 14:08

Problem w/ youtube is they are constantly updating and changing the way they display videos, nowadays using HTML5 <video /> almost exclusively.
It would be nice if this plugin had a field to add the embed code youtube supplies if/when parsing fails.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
swifter_uk

Joined: 2011-12-05
Posts: 14
Posted: Tue, 2012-01-17 14:20

I just managed to add a link to a myspace video, so it does appear to be an error from youtube rather than one of my configuration.

http://hovedogs.co.uk/gallery/gallery2/main.php?g2_itemId=190

 
Mr.Kimura

Joined: 2004-02-21
Posts: 20
Posted: Wed, 2012-10-31 18:57
designbysue wrote:
Have installed this plug in and it works but I tried to change the variables in the Embed Video Settings and am having trouble. I deleted height and width and tried to reenter using larger numbers (640 by 360) to allow for the video to play larger than the default that was set in the original install. When I enter the variable and click on the add variable button, the new variable is not added to the list. I also tried Add a new override variable and nothing worked there either. Any ideas?

Thanks
Sue

Same problem here...

Does anybody have an idea how to fix it? - Gallery version is 2.3.2

Thank you!

 
porley
porley's picture

Joined: 2012-11-13
Posts: 1
Posted: Tue, 2012-11-13 19:19

since YouTube does make lots of changes, will it work OK with metacafe or dailymotion?