how to remove delay when looping a playlist in jPlayer? - audio

i have the loop playlist functionality working well with:
{
swfPath: "js",
supplied: "oga, mp3",
wmode: "window",
loop: "true",
});
however there is a few seconds gap between when the playlist finishes and then starts again.
the playlist only contains one file and so i am going for a 'seamless' sound effect but at the moment there is a gap between when the playlist ends and then starts again.
does anyone know if there is an option to remove this gap or somehow manage it so that it appears to have no gap?
thank you.

from the developer:
"Well, if you are only playing 1 piece of media, using the playlist is a verbose way of doing it... Introducing a number of effects that would not normally be there. The delay is due to the playlist assuming that the next track is different to the previous track... So it always sets the media again each time and this will be the source of the delay.
Do it more like a single player and the delay will be much smaller. There will always be a small delay, but much better than you are experiencing.
For example, this demo here is better suited:
http://jplayer.org/latest/demo-01/"

Related

Why does YouTube audo keep playing after closing?

On this page, if you click any "Watch Video" button, it opens a video. If you hit play and then hit Close, the audio keeps playing. Googling makes it seem like it's just something Google needs to fix, but curious if anyone knew of any way to stop it
jQuery(document).ready(function($) {
$("#hp-video").on('hidden.bs.modal', function (e) {
$("#hp-video iframe").attr("src", $("#hp-video iframe").attr("src"));
});
});
That did the trick (with the proper ID of course)
this happens alot to me and i soon found out how to do it.
just turn off the autoplay and turn off the audio of youtube.
and it wont autoplay the next vid and there is no audio on the vid

Adobe edge animate: Audio starts playing even if preloader is there

[when I am on slow internet connectivity or images are of larger size comes from server and taking time to load]
Images taking time to load, so animation starts playing even if images are not loaded yet, to overcome this I have used preloader.
Now problem is audio I have used on this page loads early and starts playing even if page still showing preloader.
So it doesnt seem to work
Que1:
for images I have noticed until all assets are ready, edge min file attaches style
.edgeLoad-EDGE-137360589 { visibility:hidden; }
so for certain time it shows white screen as all other things it making hidden but animation runs in background, which doesnt look good.
Que2:
To resolve above issue, I tried preloader. By using it I can resolve above issue but it creates problem with audio.
Even if preloader is there, my audio starts playing in background.
[audio preload is set to false, but as and when it loads it starts playing not waiting for preloader to complete]

Nivo Slide Transitions Not Working

My Nivo slide transitions were working in an earlier iteration of this test page. But now I see they aren't working, the slides are no longer functioning as links to other pages like they should, and the captions are appearing about a second before the slide. I have gone over everything with a fine-toothed comb but obviously not fine enough.
The page in question is:
http://americanart.si.edu/index_new_prerelease_jeff2.cfm
Any help would be appreciated. Thanks
I scanned your HTML and Javascript and the only thing I can say is, you have an error on jTweetsAnywhere. It isn't uncommon that if one function, no matter where, gives an error, other stuff stops working too.
So try fixing that error first, or commenting out the jTweetsAnywhere initiation as it isn't recognised ("has no method 'jTweetsAnywhere'")

Spotify API, preload cover arts

Im currently having a function that animates a couple of cover arts from some random tracks. The problem I have is that the spotify cover arts lazy loads so the image sometimes doesn't appear since the load takes too long.
So, is there any way to preload the images before i start my animation? Or do i have to "play and stop" every track before my animation?
Handle the DOMNodeInsertedIntoDocument event.
$(image.node).on("DOMNodeInsertedIntoDocument", function onLoad(){ ... });

Looping problem with flash audio

At my client's request I have placed a song on her website, set to run on loop using flash. The swf is tucked inside of a table in her sidebar navigation. For some reason the swf doubles, then triples, etc. at the end of each play.
I'm using Dreamweaver and Flash and have tried different combinations of parameters:
Inside Flash: loop on event, loop with stream
Inside DW: loop on and off
Does anyone have a guess as to why/what is causing the swf to stack on itself and how to fix it?
Answering my own question:
The parameter for loop needed to be set to false, as the swf itself had a loop built into it.
The correct combination is Event:Loop (within the swf) and loop "false' in DW.

Resources