This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Pages: 1 - Last Post: 28 May 23, 16:24 Last Post By: JeffTucker Threads: [ Previous | Next ]
pdaustin

Posts: 1
Registered: 4-Mar-2012
Turtle: Volume Level
Posted: 28 May 23, 15:56
 
  Click to reply to this thread Reply
Hello, I would like to know if it's possible to retain volume level of 1.0 vs default of 0.4? After making changes to my album the html file is edited putting the volume back to 0.4 each time. Here is the code within the HTML file (towards the bottom) which handles this. After each save I have to go back into the html file and change volume:0.4 to 1.0 (full volume). Any input would be greatly appreciated. In my case, I use a camera shutter as the background sound.

http://www.lensart.ca

Thanks!

$('#bgaudio').addPlayer({src:'Shutter.mp3',folder:'res/',resPath:'res',auto:true,loop:false,mini:!0,lowPriority:!0,volume:0.4});

Edited by: JeffTucker on 28 May 2023, 10:09, to add skin name to title, and to make link clickable
JeffTucker

Posts: 8,225
Registered: 31-Jan-2006
Re: Turtle: Volume Level
Posted: 28 May 23, 16:19   in response to: pdaustin in response to: pdaustin
 
  Click to reply to this thread Reply
You're using a skin that was superseded almost six years ago, along with a three-year-old version of jAlbum. It's time to move on.

Support is rarely offered for something this out-of-date, but in this case, I happen to have a copy of the skin kicking around, and the fix is very simple. Open the skin directory and edit index-scripts.inc in a text editor. Change the value on line 58 of that file, and save it.

(The display of the play icon is also buggy - initially oversized, then disappears - but I'm not prepared to wade into it.)
JeffTucker

Posts: 8,225
Registered: 31-Jan-2006
Re: Turtle: Volume Level
Posted: 28 May 23, 16:24   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
One other note....

All current browsers block autoplay of audio upon page loading. The user has to interact with something on the page - clicking a play icon, launching the slideshow, etc. - before any audio will play.

So, your shutter sound doesn't play when someone first visits the site. It does so only when the person clicks the play icon.

Sorry, but that's just the way browsers work these days.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums