Autoplay linked video when album opened

llundgren

Joined: 2003-05-19
Posts: 67
Posted: Tue, 2011-03-22 16:03

How do I enable a video/audio to run upon entering an album?
I would like the audio to continue while the album is viewed.

Last Run Details:

Gallery URL = http://www.thelundgrens.us/gallery/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.3.3 apache2handler
Webserver = Apache/2.2.15 (Linux/SUSE)
Database = mysqli 5.1.46-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, Thumbnail, Ffmpeg, Dcraw, Gd, jpegtran, NetPBM, ImageMagick
Acceleration = none, none
Operating system = Linux NatL 2.6.34.7-0.5-desktop #1 SMP PREEMPT 2010-10-25 08:40:12 +0200 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13
Rows in GalleryAccessMap table = 32
Rows in GalleryAccessSubscriberMap table = 31614
Rows in GalleryUser table = 2
Rows in GalleryItem table = 31612
Rows in GalleryAlbumItem table = 916
Rows in GalleryCacheMap table = 0

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2011-03-22 21:09

You can setup Raw Html as your default posting and disable html filtering. I describe how here.
Then you can add your video/audio player code to your album description. mediaBlock could make that very easy.

Then you'd need to find a theme that does not refresh the whole page while browsing. Maybe ajaxian.. never used it myself, so I don't know it's default behavior.

Or even jQuery mediaBlock.

Or your album description's code could popup a new window for the player.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2