I'm trying to modify PY GVideo to get it to run on 2.4. It calls mkget_thumbnail_dir, which was removed in 2.4. What's the replacement?
-- Geoff
Offline
Hi :-)
you can read http://piwigo.org/doc/doku.php?id=dev:changes_in_2.4
Offline
I'll update this plugin toworow ;-)
Offline
ddtddt wrote:
you can read http://piwigo.org/doc/doku.php?id=dev:changes_in_2.4
I had read it and it simply said "removed".
mistic100 wrote:
I'll update this plugin toworow ;-)
Thanks you, thank you, thank you! Most of it runs, other than uploading a thumbnail.
-- Geoff
Last edited by geoffschultz (2012-08-01 00:54:08)
Offline
mistic100 wrote:
I'll update this plugin toworow ;-)
It's been a few days. By any chance have you worked on this? Adding my videos into my gallery is the last thing that I need to do.
-- Geoff
Last edited by geoffschultz (2012-08-03 12:44:53)
Offline
it's done, not published because the upgrade needs more tests
http://piwigo.org/svn/extensions/gvideo
if you want you can test it but NOT in your production gallery (or make sur to have a backup of the database and the 'upload' folder)
ps: as it's not published on PEM you won't be able to do an auto upgrade, so after replacing the plugin files, go to the plugin management page, unactivate "Embedded Videos " (the new name of the plugin) and then activate it again
Offline
mistic100 wrote:
it's done, not published because the upgrade needs more tests
http://piwigo.org/svn/extensions/gvideo
I go to this link and all that I find is basically the directory structure & files of the plugin. Do I have to download the files 1 by 1 in order to test this?
-- Geoff
Offline
not pratical isn't it ? :D
anyway a made tests on the upgrade process yesterday and it's bugued, I'll update it tomorrow and give you a zip archive if you want
Offline
Sounds good (the zip file, that is).
-- Geoff
Offline
should work now
http://strangeplanet.fr/files/gvideo.zip
obviously the 2.3 gallery must be updated to 2.4 before updating the plugin
Offline
I've tested with about 6 videos from YouTube and it looks good. There's only 2 things that I noted:
1) When you click "view" after loading the video, you get "Error loading page: Permalink not found" or something like that.
2) Autoplay on YouTube doesn't seem to work. Not a real issue.
Other than that it looks good!
-- Geoff
Offline
1) strange I generate url without permalinks and it must work (it works on my test gallery) for both albums with and without a permalink
can you do right click->copy link url on the "View" link ?
2) ok I'll check the YT api
edit: can't reproduce this
Offline
Here's the link that "View" is trying to open:
http://www.geoffschultz.org/Test/piwigo … ategory/1-
And here's the link that opens when I click on the thumbnail for the video:
http://www.geoffschultz.org/Test/piwigo … 4_cruising
Note that the autoplay issue was on my end. I didn't have autoplay set to yet. Strangely I found that I had to click the "yes" button on the settings tab many times to get it to switch.
-- Geoff
P.S. You did a very nice job with the changes that you made to the plugin.
Offline
you use $conf['category_url_style'] = 'id-name'; right ?
Offline
I use:
$conf['category_url_style'] = 'id-name';
$conf['picture_url_style'] = 'file';
-- Geoff
Offline