Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Image & text overwritten with Flow plugin

3 replies [Last post]

I am trying to load new playlists with the flow plugin and when I do that I see that the original playlist is still there in the background. Is there a way to clear the old playlist and then load the new playlist. This does not happen with the normal playlist bar just with the flow plugin. Any ideas?

var player = null;
function playerReady(thePlayer) {
player = window.document[thePlayer.id];
}

function cacheHack()
{
return "?t=" +new Date().getTime();
}

function createPlayer(thePlayer, thePlaylistFile)
{
var flashvars = {
autostart:"false",
skin:"/lib/swf_player/stylish.swf",
stretching: "uniform",
controlbar:"top",
file:thePlaylistFile,
plugins:"flow-1&flow.position=bottom&flow.showtext=true&flow.size=105&flow.coverheight=55"
}

var params = {
allowfullscreen:"true",
allowscriptaccess:"always"
}

var attributes = {
id:thePlayer, 
name:thePlayer
}

swfobject.embedSWF("/lib/swf_player/player-licensed_46.swf" + cacheHack(), "placeholder1", "450", "450", "9.0.124", false, flashvars, params, attributes);
}

function loadFile(theNewPlaylistFile)
{
if(player)
{
player.sendEvent('STOP');
player.sendEvent('REDRAW');
player.sendEvent('LOAD', {file: theNewPlaylistFile});
}
}
</script>

Hi Bk,

This is not yet supported, but will be added in the 1.1 release if there is enough interest in the plugin.

Now the plugin just builds the flow playlist on initialization.

Kind regards,
Wesley

I to have just found this issue. I wanted to have a series of buttons on a page where the player could be loaded with a new example playlist when one of these was selected.

At the moment it can be got around by generating multiple pages on the site (1 per button) but it is a silly solution.

Any idea when 1.1 might be made available with the initialise after load correction please?

It is a nice visual solution to selecting videos

Hi,

version 1.1 is available now.

I have taken the new playlist issue in consideration when updating the plugin but did not test it yet.

The playlist handler now checks if there already is a flow list available and removes it when needed before generating a new list.

Hope it works...