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
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.
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 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 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
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
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!
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
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:
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.
* 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
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
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:
* 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
* 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
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:
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:
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?
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
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.
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
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?
Posts: 6
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
Posts: 190
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
Posts: 6
I did all that and I'm still getting the issue, no video, just a thumbnail.
Posts: 6
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?
Posts: 190
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.
Posts: 6
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.
Posts: 6
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.
Posts: 1
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
Posts: 9
Same problem here.
Posts: 9
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
Posts: 190
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."
Posts: 190
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.
Posts: 9
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
Posts: 190
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.
Posts: 14
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:
and
Have I done anything wrong?
Thanks for yout help!
cheers
Posts: 190
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...
Posts: 4
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]:
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:
Posts: 16
Error on new video.
Please help. Thank you.
Posts: 190
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.
Posts: 16
It's working fine now. Thank you.
Posts: 6
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:
to
Posts: 1
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
Posts: 6
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.
Posts: 12
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:
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
Posts: 190
An excellent catch! I've made the fix to the code and will release it in the next release. Thanks for your help.
Posts: 190
An excellent catch! I've made the fix to the code and will release it in the next release. Thanks for your help.
Posts: 190
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.
Posts: 81
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
Posts: 8339
Comments are now permitted for this topic.
Posts: 14
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:
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?
Posts: 8339
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
Posts: 14
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
Posts: 20
Same problem here...
Does anybody have an idea how to fix it? - Gallery version is 2.3.2
Thank you!
Posts: 1
since YouTube does make lots of changes, will it work OK with metacafe or dailymotion?