Have music start immediately

sircuss
sircuss's picture

Joined: 2005-04-19
Posts: 46
Posted: Wed, 2005-06-01 01:44

Instead of Download this audio", is there a way to click on the item and have it play automatically.

As an aside - has anyone made a flash or otheron-line audio player module for G2? That would be even better.

Thirdly, on a similar note, is it possible to click on an item and have it go to a different url other than the item's picture? See here. When someone clicks on the item I'd like them to go to the corresponding website that is shown. As of now, I'm linking the name of the website picture as a link, but it would be nice if the item went there.

----------------------------------------------------------------------------------------
Get system details; useful for copy/paste into G2 support forum.

Last Run Details:

Gallery version = 2.0-beta-3+ core 0.9.21
PHP version = 4.3.10 apache
Webserver = Apache/1.3.31 (Unix) mod_log_bytes/0.3 FrontPage/5.0.2.2635 PHP/4.3.10 mod_ssl/2.8.19 OpenSSL/0.9.7d
Database = mysql 4.0.18
Toolkits = Gd, NetPBM, Thumbnail, ImageMagick
Operating system = FreeBSD host274.ipowerweb.com 4.10-SATA-RELEASE FreeBSD 4.10-SATA-RELEASE #0: T i386
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-06-01 02:24

You'd have to write a GalleryAudioItem similar to GalleryMovieItem or GalleryAnimationItem that renders the html for inline display of an audio player. Flash is already supported by GalleryAnimationItem.. just upload a swf file to your G2.

See wiki/dev/G2 user contrib/album links.. this could be modified to create links to anywhere instead of an existing G2 album.. you could then upload a custom thumbnail for the link.

 
sircuss
sircuss's picture

Joined: 2005-04-19
Posts: 46
Posted: Wed, 2005-06-01 04:22

Is there no other way to have an item link to another page outside of the gallery? It seems an almost fundamental feature.

Thanks for the tip about using Flash for music - it worked out nicely :P