Gallery2:Modules:embedvideo - everything looks good but they don't play
damon_achey
Joined: 2009-09-25
Posts: 7 |
Posted: Fri, 2009-09-25 22:22 |
So at my site I think I've done everything correctly but where I expect the video to play I just get the thumbnail again. Could someone please give me things to check. http://www.achey.net/photos/main.php?g2_itemId=843 Thanks, Quote:
Gallery URL = http://www.achey.net/photos/main.php |
|
Posts: 27300
Does it work properly with the default matrix theme?
What movie type is it?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
I've changed the theme to matrix and tried removing and re-embeding the link and it had no effect. The video is a youtube video (here, if tat matters).
Now my hosting service had exec() disabled so I can't run the ffmpeg plugin. Would have have an impact on this?
Posts: 7
I've noticed that if I paste the "embed" tag into the description directly and hit save, it gets immediately stripped out. I've applied the patch to GalleryUtilities.class and still can't figure out why it's doing this.
Posts: 7
Ok, got it. The addition of the patch didn't take the first time and after fixing that it works great.
Posts: 27300
It will and it might bite you in the future. You can't use a proper image toolkit for example.
'the patch'? do you mean the module for embedding in the items description?
Never mind, glad you got it working.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 14
Hello -
Can someone prvide a step-by-step for the patch? What type of editor do you use to modify the .class file? I've tried several times, and I only get the thumbnail inside the flv player when I click to execute an embeded video. Does somebody have an already-modified version of the .class file I can use?
Thanks,
Scott
Posts: 7
I had at first used a "file manager" provided by my hosting company but it was not liking the .class extension for some reason. So in the end I ended up using windows explorer ftp and windows "write" to do the actual editing.
The change is described here and consists of commenting out one line and changing a configuration setting.
Posts: 14
Thanks. I tried again using WordPad. Seems to work, but now I have a presentation problem...
Shouldn't this show the actual player box in the thumbnails view? Or, must you click on the thumbnail to take it to the viewer?
When I click on the thumbnail (attached page 1), it takes me to the picture of the thumbnail, with the actual player in the caption box below (attached page 2). This small area in the Hybrid theme cannot be adjusted in size.
Is it the theme, or a setting I have wrong? I would like the player box to appear in the thumbnail view, and then allow the user to view full screen when they want to.
Seems as though this module treats the link as photo? Is that correct?
Gallery URL = http://www.scott-mcneil.com/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 4.3.11 cgi-fcgi
Webserver = Apache
Database = mysql 5.0.67.d7-ourdelta-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd, ImageMagick, jpegtran, Ffmpeg, LinkItemToolkit, Thumbnail
Acceleration = partial/3600, partial/3600
Operating system = Linux linhost288.prod.mesa1.secureserver.net 2.4.21-53.ELsmp #1 SMP Wed Nov 14 03:54:12 EST 2007 i686
Default theme = hybrid
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Rows in GalleryAccessMap table = 23
Rows in GalleryAccessSubscriberMap table = 9438
Rows in GalleryUser table = 10
Rows in GalleryItem table = 9434
Rows in GalleryAlbumItem table = 153
Rows in GalleryCacheMap table = 64
Posts: 7
I have only a limited understanding of the module, but if I get you correctly I think that is correct. What it's doing is placing the embedded object code (the video) into the image description field. So when the icon is selected from the album, the "image" is the thumbnail again and the video shows in the description. It sounds like this isn't going to work with the theme you've chosen.
Here is an example from my page video. Here you can see the "image" on the left is the thumbnail and the video shows up at the end of the description on the right.
Posts: 7
Adding, if you're thinking this is hacky, then yes. This module is a hack to support a feature that isn't built in. I'm guessing if it was built in then the video would show where the "image" is and not in the description. But for now this is all they seem to support.