Playing audio in a slideshow

Posted by user380251 
Playing audio in a slideshow
November 21, 2011 01:12PM
Hi. I like to play an audio file in simplefadethumbview slideshow. I copied the code from an example that had audio but I do not hear any sound when the slideshow plays. Below is the code I am using. Is there something else that needs to be done for the audio. Thanks.

<script type="text/javascript" src="simplefadethumbview.js"></script>
<script type="text/javascript">
(function() {
var err;
try{
$.slideshowBoxEmbedCanvas.init({
appendToID:"slideshow",
imagesXmlPath:"script/2011aa_js.xml",
imgBlankUrl:"images/blank.gif",
imgPreloaderUrl:"image/load.gif",
audioFile:"wf.mp3",
audioFileAlt:"wf.ogg",
audioPlayerIcon:"speaker",
audioPlayerColor:"#FFFFFF",
loopAudio:true,
audioPlayMode:"synchronizeWithSlideshow",
audioPlayerOn:"",
audioPlayerOff:"",
width:725,
height:615,
autoHideControls:"false",
autoSlideShow:"true",
backgroundVisible:"true",
loadOriginalImages:"false",
slideShowSpeed:"5",
backgroundColor:"#DFC0E2",
backgroundImage:"images/bkg_43c.jpg",
scaleBackground:"true",
controlBarAlpha:"10",
controlBarPrimaryColor:"#555555",
controlBarSecondaryColor:"#c0c0c0",
slideShowControls:"true",
fullScreenButton:"true",
controlsHideSpeed:"2",
showImageInfos:"false",
showImageIndex:"true",
textColor:"#FFFFFF",
textBackgroundAlpha:"0.5",
textBackgroundColor:"#000000",
imageBorderSize:"2",
imageBorderColor:"#FFFFFF"
});
}catch(err){}
})();
</script>

Link to slideshow page
[www.msspecial.com]



Edited 1 time(s). Last edit at 11/21/2011 01:37PM by user380251.
Re: Playing audio in a slideshow
November 24, 2011 10:21AM
The code that you have is incomplete and incorrect. Take again the embed code for the slideshow from the online panel and everything should be ok [www.slideshowbox.com]
Re: Playing audio in a slideshow
November 27, 2011 10:11PM
Hi. I created the code using the online panel. I see the images in the slideshow but still hear no audio or see any audio iccons
Here is the code that was generated in the panel

<div id="SimpleFadeThumbviewJS1322430928441" style="width:725px;height:616px;"></div>
<script type="text/javascript" src="SimpleFadeThumbview.js"></script>
<script type="text/javascript">
(function() {
var err;
try{
$.slideshowBoxEmbedCanvas.init({
appendToID:"SimpleFadeThumbviewJS1322430928441",
domainKeys:"",
source:"script/2011aa_js.xml",
imagesXmlPath:"script/2011aa_js.xml",
audioFile:"wf.mp3",
audioFileAlt:"wf.ogg",
audioPlayerIcon:"speaker",
audioPlayerColor:"#FFFFFF",
loopAudio:true,
audioPlayMode:"synchronizeWithSlideshow",
audioPlayerOn:"iconon.jpg",
audioPlayerOff:"iconoff.jpg",
fontName:"",
fontSize:10,
bold:false,
italic:false,
textTopOffset:0,
width:725,
height:616,
autoSlideShow:true,
slideShowSpeed:6,
backgroundVisible:true,
backgroundColor:"#1C1C1C",
backgroundImage:"",
scaleBackground:true,
loadOriginalImages:false,
autoHideControls:false,
controlsHideSpeed:2,
controlBarAlpha:1,
controlBarPrimaryColor:"#FFFFDB",
controlBarSecondaryColor:"#C21F1F",
slideShowControls:true,
fullScreenButton:true,
thumbWidth:25,
thumbHeight:25,
showImageIndex:false,
showImageInfos:true,
scaleMode:"scaleCrop",
preloaderPosition:"centered",
textColor:"#C21F1F",
textBackgroundAlpha:0.8,
textBackgroundColor:"#FFFFDB"
});
}catch(err){}
})();
</script>

What is missing for the audio not to play?

Link to my test file

[www.msspecial.com]
Re: Playing audio in a slideshow
November 28, 2011 01:26PM
We will need to look at the source files. Could you please open a ticket and send us the source files for the gallery so that we can run some tests.
[www.jumpeyecomponents.com]
Sorry, only registered users may post in this forum.

Click here to login