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,
Damon

Quote:
Gallery URL = http://www.achey.net/photos/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.4.7 cgi
Webserver = Apache
Database = mysqlt 5.0.45-log, lock.system=flock
Toolkits = ArchiveUpload, Thumbnail, Exif, NetPBM, Gd, ImageMagick, Dcraw, jpegtran, SquareThumb
Acceleration = none, none
Operating system = Linux cgi1204.int.bizland.net 2.6.29.4 #1 SMP Mon Jun 1 13:08:14 EDT 2009 i686
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Opera/9.80 (Windows NT 6.0; U; en) Presto/2.2.15 Version/10.00

embedvideo version 1.1.4

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-09-26 03:44

Does it work properly with the default matrix theme?
What movie type is it?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
damon_achey

Joined: 2009-09-25
Posts: 7
Posted: Sat, 2009-09-26 22:34

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?

 
damon_achey

Joined: 2009-09-25
Posts: 7
Posted: Sun, 2009-09-27 03:33

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.

 
damon_achey

Joined: 2009-09-25
Posts: 7
Posted: Sun, 2009-09-27 05:05

Ok, got it. The addition of the patch didn't take the first time and after fixing that it works great.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-09-27 05:14
Quote:
Now my hosting service had exec() disabled so I can't run the ffmpeg plugin. Would have have an impact on this?

It will and it might bite you in the future. You can't use a proper image toolkit for example.

Quote:
Ok, got it. The addition of the patch didn't take the first time and after fixing that it works great.

'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

 
mcnesco

Joined: 2009-08-09
Posts: 14
Posted: Mon, 2009-10-05 22:38

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

 
damon_achey

Joined: 2009-09-25
Posts: 7
Posted: Mon, 2009-10-05 23:20

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.

 
mcnesco

Joined: 2009-08-09
Posts: 14
Posted: Tue, 2009-10-06 01:46

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

 
damon_achey

Joined: 2009-09-25
Posts: 7
Posted: Tue, 2009-10-06 02:06

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.

 
damon_achey

Joined: 2009-09-25
Posts: 7
Posted: Tue, 2009-10-06 02:11

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.